Jump to content

crazyzee

Membru
  • Posts

    311
  • Joined

  • Last visited

    Never

Everything posted by crazyzee

  1. Acum numai apare nici o eroare mersi mult insa cand dau ingame /factionpayday apare acel mesaj in chat ca am primit faction payday insa nu primesc nimic .. nici in banka nu ii baga .. Trebuia sa scriu asa ? #define GetPlayerCash JB_GetPlayerMoney ?
  2. Acum imi apare : [pawn]D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(38495) : error 017: undefined symbol "GetPlayerCash" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.[/pawn]
  3. Am pus in gm comanda /factionpayday pentru a putea da salarii , la compilare primesc aceasta eroare : [pawn]D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19071) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19077) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19083) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19089) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19095) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19101) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19110) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19116) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19122) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19128) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19134) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19140) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19149) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19155) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19161) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19167) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19173) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19179) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19188) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19194) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19200) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19206) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19212) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19218) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19227) : error 017: undefined symbol "GivePlayerCash" D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(19233) : error 017: undefined symbol "GivePlayerCash" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. [/pawn] ... sa imi spuneti cum definesc " GivePlayerCash " . Comanda /factionpayday : [pawn]if(strcmp(cmd, "/factionpayday", true) == 0 || strcmp(cmd, "/payteam", true) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1338) { GetPlayerName(playerid, sendername, sizeof(sendername)); SendClientMessage(playerid, COLOR_GREEN,"All online faction members have retrieved their faction Payday."); format(string, 256, "News: %s has started the Faction PayDay !", sendername); ABroadCast(COLOR_YELLOW,string,1); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pLeader] == 1||PlayerInfo[pMember] == 1) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 2||PlayerInfo[pMember] == 2) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 3||PlayerInfo[pMember] == 3) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 4||PlayerInfo[pMember] == 4) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 5||PlayerInfo[pMember] == 5) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 6||PlayerInfo[pMember] == 6) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 7||PlayerInfo[pMember] == 7) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 8||PlayerInfo[pMember] == 8) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 9||PlayerInfo[pMember] == 9) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 10||PlayerInfo[pMember] == 10) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 11||PlayerInfo[pMember] == 11) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 12||PlayerInfo[pMember] == 12) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) { GivePlayerCash(i, 40000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 40.000$ (Rank 2)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 3) { GivePlayerCash(i, 60000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 60.000$ (Rank 3)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 4) { GivePlayerCash(i, 80000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 80.000$ (Rank 4)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 5) { GivePlayerCash(i, 90000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 90.000$ (Rank 5)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 6) { GivePlayerCash(i, 100000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 100.000$ (Rank 6)"); SendClientMessage(i, COLOR_GREY, string); } } else if(PlayerInfo[pLeader] == 13||PlayerInfo[pMember] == 13) { if(PlayerInfo[pRank] == 1) { GivePlayerCash(i, 20000); format(string, sizeof(string), "*You have retrieved your Faction PayDay of 20.000$ (Rank 1)"); SendClientMessage(i, COLOR_GREY, string); } else if(PlayerInfo[pRank] == 2) {[/pawn]
  4. Acum nu merge /buyprods , cand scriu apare in chat Products 0/0 !
  5. Scz. pentru intarziere.... [pawn]if(strcmp(cmd, "/robbank", true) == 0) { if(PlayerToPoint(3, playerid,2315.4534,-0.8274,26.7422)) { if(PlayerInfo[playerid][pRob] < 20) { SendClientMessage(playerid, COLOR_YELLOW, "You don't have enought Rob Skill to robbank right now!"); return 1; } if(WantedPoints[playerid] > 0) { SendClientMessage(playerid, COLOR_YELLOW, "You cannot robbank while you have wanted!"); return 1; } if(PlayerInfo[playerid][pLocal] == 103) { } else { SendClientMessage(playerid, COLOR_GREY, "You are not in the bank!"); return 1; } new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member==3 || member==4 || member==7 || member==9 || member==10 || member==11) { SendClientMessage(playerid, COLOR_GREEN, "You are not a gang member !"); return 1; } else if(leader==1 || leader==2 || leader==3 || leader==4 || leader==7 || leader==9 || leader==10 || leader==11) { SendClientMessage(playerid, COLOR_LIGHTGREEN, "You cannot rob the Bank !"); return 1; } if(PlayerInfo[playerid][pLevel] < 4) { SendClientMessage(playerid, COLOR_LIGHTGREEN, " You must be level 4 to use this!"); return 1; } if(PlayerInfo[playerid][pRob] >= 15) { GetPlayerName(playerid, sendername, sizeof(sendername)); new level = PlayerInfo[playerid][pRobSkill]; new robmoney; if(level >= 0 && level <= 50) { robmoney = random(50000); GivePlayerMoney(playerid, robmoney); } else if(level >= 51 && level <= 100) { robmoney = random(75000); GivePlayerMoney(playerid, robmoney); } else if(level >= 101 && level <= 200) { robmoney = random(100000); GivePlayerMoney(playerid, robmoney); } else if(level >= 201 && level <= 400) { robmoney = random(125000); GivePlayerMoney(playerid, robmoney); } else if(level >= 400) { robmoney = random(150000); GivePlayerMoney(playerid, robmoney); } PlayerInfo[playerid][pRob] -= 15; PlayerInfo[playerid][pRobSkill] += 5; PlayerInfo[playerid][pCashStolen] = robmoney; if(PlayerInfo[playerid][pRobSkill] == 50) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 2, you will earn more Money."); } else if(PlayerInfo[playerid][pRobSkill] == 100) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 3, you will earn more Money."); } else if(PlayerInfo[playerid][pRobSkill] == 200) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 4, you will earn more Money."); } else if(PlayerInfo[playerid][pRobSkill] == 400) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 5, you will earn more Money."); } SendClientMessage(playerid, 0xFF0000FF, " You Have Robbed The Bank "); format(string, sizeof(string), "** HQ: The Bank in Los Santos has been robbed!!!!!. **", sendername); SendRadioMessage(1, COLOR_RED, string); WantedPoints[playerid] =20; SetPlayerCriminal(playerid,255, "Robbing the BANK!"); format(string,sizeof(string), "* %s points his gun at the clerk and attempts to rob the Bank.", sendername); SendClientMessage(playerid, COLOR_YELLOW, "You have been seen on the security cameras! Run away!"); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "** You have successfully stolen $%d!",robmoney); SendClientMessage(playerid,COLOR_YELLOW,string); GivePlayerMoney(playerid, robmoney); SetTimerEx("NFSCarTime", 20000, 0, "i", playerid); } } else { SendClientMessage(playerid, COLOR_GREY, "You are not in the bank at the door!"); return 1; } return 1; }[/pawn]
  6. Salut inca odata , vreau ca orice player sa poata da robbank sa numai ceara obligatoriu skill . Ce trebuie sa modific si cum ...
  7. Acum imi da erorile astea : [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(32875) : warning 202: number of arguments does not match definition D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(32893) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. [/pawn] EDIT : Uite asa apare ...
  8. Ce-mi place de tine , am vorbit si aseara amandoi , acum 3 zile cand tu ne faceai asta noua, radeai cu gura pana la urechi , acum plangi dupa ajutor ... Cauta un AntiRCONHack eu cu asta am rezolvat , gasesti pe sa-mp.com .
  9. tot asa zice " you are not in a delivery car " , nu merge nici /buyprods :-|
  10. Comanda /load : [pawn]if(strcmp(cmd, "/load", true) == 0) { if(IsPlayerConnected(playerid)) { new tmpcar = GetPlayerVehicleID(playerid); if(tmpcar < 86 || tmpcar > 89) { GameTextForPlayer(playerid, "~r~You are not in a delivery truck", 5000, 1); return 1; } format(string, sizeof(string), "Products: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); } return 1; }[/pawn]
  11. haaaa? ce sa arat zimi .. si arat cu placere no problem
  12. EDIT : Am rezolvat cu junkbusterul insa acum dupa ce intru pe server primesc BAN aiurea , in server.log apare asa : 193.xx.xx.xx [30/03/13 | 08:12:02] Lordx - Cheats detected Nu folosesc nici un fel de cod :-"
  13. Salut , azi am pus JunkBuster 11 , am facut exact cum zice in acel fisier README.txt in acum cand compilez GM-ul imi da erorile astea :-" [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(140) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(141) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(142) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(143) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(144) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(145) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(146) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(2795) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(2824) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(2861) : error 017: undefined symbol "JB_GivePlayerWeapon" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(2890) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3283) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3289) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3307) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3321) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3334) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3347) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3360) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3530) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3542) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(3993) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4530) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4746) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4756) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4797) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4801) : error 017: undefined symbol "JB_GivePlayerWeapon" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4823) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4835) : error 017: undefined symbol "JB_GivePlayerWeapon" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4837) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4843) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4851) : error 017: undefined symbol "JB_SetPlayerPos" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4860) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(4890) : error 017: undefined symbol "JB_SetPlayerPos" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. [/pawn]
  14. Salut am o problema cu jobul trucker , dupa ce setez jobul si ma urc in masina de truck cand dau /load zice you are non in a delivery car , cand dau /buyprods apare Produse 0/0 , cam de unde sa fie problema ?
  15. Pai si daca el trebuie din anumite motive sa se conecteze la rcon ? :tongue: Incearca FS asta si eu am avut probleme astea http://www.girlshare.ro/32348218.1
  16. Salut , am si eu scriptul cu hunted insa cand este ales hunt-ul daca dau /hunted sa imi arate locatia lui zice ca momentan jocul hunted nu a inceput ! Aceasta e comanda /hunted : [pawn]if(strcmp(cmd, "/hunted", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsGameStarted > 0) { if(PlayerOnMission[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " On a mission right now, can't use this command !"); return 1; } if(HuntedPlayer == playerid) { SendClientMessage(playerid, COLOR_GREY, " Nu poti folosi /hunted cand esti Hunt !"); return 1; } if(HuntedPlayer != INVALID_PLAYER_ID) { new Float:X,Float:Y,Float:Z; GetPlayerPos(HuntedPlayer, X,Y,Z); SetPlayerCheckpoint(playerid, X,Y,Z, 6); FindTime[playerid] = 1; FindTimePoints[playerid] = 12; } else { SendClientMessage(playerid, COLOR_GREY, " Momentan nu a inceput jocul 'Hunted' !"); } } else { SendClientMessage(playerid, COLOR_GREY, " Momentan nu a inceput jocul 'Hunted' !"); } } return 1; }[/pawn]
  17. Salut am o roblema care nu stiu cum sa o rezolv , daca cumpar un bizz si pe urma il vand si vreau sa cumpar altu zice ca am deja un bizz , cu toate ca numai am ....
  18. Dama mai pun si asta [pawn]public OnPlayerSpawn ( playerid ) { new rand = random ( sizeof ( RandomSkins ) ) ; SetPlayerSkin ( playerid , RandomSkins [ rand ] [ 0 ] ) ; // Seteaza skin-ul jucatorului la intamplare. return ( 1 ) ; }[/pawn] Imi da eroarea ca functia este folosita de 2 ori ...
  19. Acum mai primesc eroarea asta si nu stiu cum sa o rezolv [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(52479) : warning 203: symbol is never used: "RandomSkins" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. [/pawn]
  20. Cum fac update la junkbuster , adica de unde sa il iau pe cel bun , si forward la fel cum sa fac.
  21. Primesc erorile astea : [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(51583) : warning 235: public function lacks forward declaration (symbol "wartimer") D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(52157) : warning 213: tag mismatch D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(52159) : warning 213: tag mismatch D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(52161) : warning 213: tag mismatch D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(52167) : error 021: symbol already defined: "JB_OnPlayerSpawn" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(52173) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn] Am cautat in GM [pawn]JB_OnPlayerSpawn[/pawn] dar nu gasesc nicaieri , la restul nu ma pricep scz :-|
  22. Asa cum spune si titlul as vrea sa stiu cum sa fac ca atunci cand se inregistreaza un nou membru sa dea skin diferit automat .
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.