crazyzee
Membru-
Posts
311 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by crazyzee
-
Rezolvat , multam DarkyTheAngel +1 respect
-
Si de unde sa le iau pe cele bune ca am incercat ..... EDIT: La orice streamer am adaugat eu primesc erorile astea : [pawn]D:\Backup SAMP Server\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128" D:\Backup SAMP Server\pawno\include\streamer.inc(313) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject") D:\Backup SAMP Server\pawno\include\streamer.inc(336) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject") D:\Backup SAMP Server\pawno\include\streamer.inc(338) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. [/pawn] Probabil sa fie din alta parte sau sa nu fi gasit eu streamer bun .....
-
Nu stiu cum sa definesc aceasta eroare :-| [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(12317) : error 017: undefined symbol "CreateDynamicPickup" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn]
-
Dute in masinilie care le ai la trucker , urcate in fiecare si dai /carid ; Notezi id-urile masinilor si le treci aici , in comanda /load if(tmpcar < 171 || tmpcar > 174). Dupa, cauta in gm linia pCapacity , ar trebui sa ai ceva de genu asta , [pawn]PlayerHaul[565][pCapasity] = 100; PlayerHaul[566][pCapasity] = 100; PlayerHaul[567][pCapasity] = 100; PlayerHaul[568][pCapasity] = 50; PlayerHaul[569][pCapasity] = 50; PlayerHaul[570][pCapasity] = 50;[/pawn] Trebuie sa treci id-urile masinilor de la trucker. EXEMPLU : PlayerHaul[ID MASINA][pCapasity] = 100; Sper sa te descurci , daca nu revino si te ajutam.
-
Incearca asta : [pawn]public IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return 1; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return 1; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return 1; } } return 0; }[/pawn]
-
Da este bizz 9 , uite si comanda pentru orice evntualitate : [pawn]if(strcmp(cmd, "/buy", true) == 0) { if(IsPlayerConnected(playerid)) { if (!PlayerToPoint(100, playerid,-30.875, -88.9609, 1004.53))//centerpoint 24-7 { SendClientMessage(playerid, COLOR_GRAD2, " You are not in a 24-7 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buy [item number]"); SendClientMessage(playerid, COLOR_GREEN, "|_______ 24-7 _______|"); SendClientMessage(playerid, COLOR_GRAD1, "| 1: Cell Phone $500 2: Scratch Card $7500"); SendClientMessage(playerid, COLOR_GRAD2, "| 3: Phone Book $5000 4: Dice $500"); SendClientMessage(playerid, COLOR_GRAD3, "| 5: Vehicle Key $5000 6: Vehicle Lock $10000"); SendClientMessage(playerid, COLOR_GRAD4, "| 7: Speedometer $5000 8: Condom $50"); SendClientMessage(playerid, COLOR_GRAD5, "| 9: CD-Player $2500 10: Chicken $10 "); SendClientMessage(playerid, COLOR_GRAD5, "| 11: Hamburger $10 12: Frozen Pizza $10"); SendClientMessage(playerid, COLOR_GRAD5, "| 13: Molotov Maker $30000"); return 1; } new item = strval(tmp); if(SBizzInfo[9][sbProducts] == 0) { GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1); return 1; } if (item == 1 && GetPlayerMoney(playerid) > 500) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 500 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 500 - price; format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); } else { format(string, sizeof(string), "~r~-$%d", 500); GameTextForPlayer(playerid, string, 5000, 1); GivePlayerMoney(playerid,-500); SBizzInfo[9][sbTill] += 500; ExtortionSBiz(9, 500); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); new randphone = 1000 + random(8999);//minimum 1000 max 9999 PlayerInfo[playerid][pPnumber] = randphone; format(string, sizeof(string), " Mobile Phone Purchased your new Number is %d", randphone); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_GRAD5, "You can check this anytime by Typing /stats"); SendClientMessage(playerid, COLOR_WHITE, "HINT: You can now type /help to see your cell phone commands."); return 1; } else if (item == 2 && GetPlayerMoney(playerid) > 7500) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 7500 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 7500 - price; GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-7500); SBizzInfo[9][sbTill] += 7500; ExtortionSBiz(9, 7500); format(string, sizeof(string), "~r~-$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); new prize; new symb1[32]; new symb2[32]; new symb3[32]; new randcard1 = random(10);//minimum 1000 max 9999 new randcard2 = random(10);//minimum 1000 max 9999 new randcard3 = random(10);//minimum 1000 max 9999 if(randcard1 >= 5) { format(symb1, sizeof(symb1), "~b~]"); randcard1 = 1; } else if(randcard1 <= 4 && randcard1 >= 2) { format(symb1, sizeof(symb1), "~g~]"); randcard1 = 2; } else if(randcard1 < 2) { format(symb1, sizeof(symb1), "~y~]"); randcard1 = 3; } if(randcard2 >= 5) { format(symb2, sizeof(symb2), "~b~]"); randcard2 = 1; } else if(randcard2 <= 4 && randcard2 >= 2) { format(symb2, sizeof(symb2), "~g~]"); randcard2 = 2; } else if(randcard2 < 2) { format(symb2, sizeof(symb2), "~y~]"); randcard2 = 3; } if(randcard3 >= 5) { format(symb3, sizeof(symb3), "~b~]"); randcard3 = 1; } else if(randcard3 <= 4 && randcard3 >= 2) { format(symb3, sizeof(symb3), "~g~]"); randcard3 = 2; } else if(randcard3 < 2) { format(symb3, sizeof(symb3), "~y~]"); randcard3 = 3; } if(randcard1 == randcard2 && randcard1 == randcard3) { if(randcard1 > 5) { prize = 2500; } if(randcard1 <= 4 && randcard1 >= 2) { prize = 1500; } if(randcard1 < 2) { prize = 500; } GivePlayerMoney(playerid,prize); SBizzInfo[9][sbTill] -= prize; ExtortionSBiz(9, prize); format(string, sizeof(string), "%s %s %s ~n~~n~~w~~g~$%d",symb1,symb2,symb3, prize); } else { format(string, sizeof(string), "%s %s %s ~n~~n~~w~~r~$0",symb1,symb2,symb3); } GameTextForPlayer(playerid, string, 3000, 3); return 1; } else if (item == 3 && GetPlayerMoney(playerid) > 5000) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 5000 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 5000 - price; GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-5000); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); format(string, sizeof(string), "~r~-$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pPhoneBook] = 1; format(string, sizeof(string), " Phone Book Purchased you can look up any Players Number !"); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /number <id/name>."); return 1; } else if (item == 4 && GetPlayerMoney(playerid) > 500) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 500 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 500 - price; GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-500); SBizzInfo[9][sbTill] += 500; ExtortionSBiz(9, 500); format(string, sizeof(string), "~r~-$%d", 500); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); gDice[playerid] = 1; format(string, sizeof(string), " Dice Purchased you can throw your Dice."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /dice "); return 1; } else if(item == 5 && GetPlayerMoney(playerid) > 5000) { if (gLastCar[playerid] != 0) { if(HireCar[playerid] != 299) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); HireCar[playerid] = 299; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 5000 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 5000 - price; GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-5000); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); format(string, sizeof(string), "~r~-$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); } SBizzInfo[9][sbProducts]--; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); HireCar[playerid] = gLastCar[playerid]; format(string, sizeof(string), "Key Purchased You Can Lock Your Last Vehicle."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /lock "); } else { SendClientMessage(playerid, COLOR_WHITE, " You don't have a Vehicle to fit it to !"); } return 1; } else if (item == 6 && GetPlayerMoney(playerid) > 10000) { if(PlayerInfo[playerid][pPhousekey] != 255) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1 && HireCar[PlayerInfo[playerid][pPhousekey]+1]) { HireCar = 299; } } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10000 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10000 - price; GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-10000); SBizzInfo[9][sbTill] += 10000; ExtortionSBiz(9, 10000); format(string, sizeof(string), "~r~-$%d", 10000); GameTextForPlayer(playerid, string, 5000, 1); } SBizzInfo[9][sbProducts]--; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "New Locks Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /lock "); } else { SendClientMessage(playerid, COLOR_WHITE, " You don't have a Vehicle to fit it to !"); } return 1; } else if (item == 7 && GetPlayerMoney(playerid) > 5000) { gSpeedo[playerid] = 1; if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 5000 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 5000 - price; GivePlayerMoney(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-5000); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); format(string, sizeof(string), "~r~-$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); } SBizzInfo[9][sbProducts]--; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "Speedometer Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /speedo "); return 1; } else if (item == 8 && GetPlayerMoney(playerid) > 49) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 50 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 50 - price; GivePlayerMoney(playerid,- payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid,-50); format(string, sizeof(string), "~r~-$%d", 50); GameTextForPlayer(playerid, string, 5000, 1); } Condom[playerid] ++; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "Condom Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); return 1; } else if (item == 9 && GetPlayerMoney(playerid) > 2500) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2500 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 2500 - price; GivePlayerMoney(playerid, - payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid, - 2500); format(string, sizeof(string), "~r~-$%d", 2500); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "CD-Player Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /music"); PlayerInfo[playerid][pCDPlayer] = 1; return 1; } else if (item == 10 && GetPlayerMoney(playerid) > 10) { if(Groceries[playerid][pChickens] >= 3) { SendClientMessage(playerid, COLOR_GREY, " You have to many Chickens, Cook some first !"); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; GivePlayerMoney(playerid, - payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid, - 10); format(string, sizeof(string), "~r~-$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } GivePlayerMoney(playerid, - 10); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "Chicken Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); format(string, sizeof(string), "~r~-$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); new rand = random(15); Groceries[playerid][pChickens] += 1; Groceries[playerid][pChicken] += rand; return 1; } else if (item == 11 && GetPlayerMoney(playerid) > 10) { if(Groceries[playerid][pHamburgers] >= 3) { SendClientMessage(playerid, COLOR_GREY, " You have to many Hamburgers, Cook some first !"); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; GivePlayerMoney(playerid, - payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid, - 10); format(string, sizeof(string), "~r~-$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } GivePlayerMoney(playerid, - 10); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "Hamburger Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); format(string, sizeof(string), "~r~-$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); new rand = random(15); Groceries[playerid][pHamburgers] += 1; Groceries[playerid][pHamburger] += rand; return 1; } else if (item == 13 && GetPlayerMoney(playerid) > 30000) { if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 30000 / 10; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 30000 - price; GivePlayerMoney(playerid, - payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid, - 30000); format(string, sizeof(string), "~r~-$%d", 30000); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "Molotov Maker purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "HINT: You can now use /makemolotov to create a molotov."); MolotovMaked[playerid] = 1; return 1; } else if (item == 12 && GetPlayerMoney(playerid) > 10) { if(Groceries[playerid][pPizzas] >= 3) { SendClientMessage(playerid, COLOR_GREY, " You have to many Pizzas, Cook some first !"); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; GivePlayerMoney(playerid, - payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GivePlayerMoney(playerid, - 10); format(string, sizeof(string), "~r~-$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "Frozen Pizza Purchased."); SendClientMessage(playerid, COLOR_GRAD4, string); new rand = random(15); Groceries[playerid][pPizzas] += 1; Groceries[playerid][pPizza] += rand; return 1; } else { SendClientMessage(playerid, COLOR_WHITE, " You don't have the cash for that !"); } } return 1; }[/pawn] EDIT : Intre timp am rezolvta , mi-am dat seama de unde era cauza , mersi ai +1 ;)
-
Rezolvat , Multam
-
Cum as putea sa adaug produse la 24/7 ? Nu este bizz insa cand vreau sa cumpar ceva imi zice Out of Stock , inainte nu zicea .
-
Rezolvat
-
Foarte frumos , o sa il folosesc si eu , dar as vrea sa stiu cum il pun sa apara sub radar in stanga.
-
Da am facut intre timp mi-am dat seama insa acum imi zice unknown comand desi le-am pus ok in gm :(
-
Da man dar uite trebuie sa definesc asta si nu stiu cum [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33426) : error 017: undefined symbol "GivePlayerMoneyGR" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33458) : error 017: undefined symbol "GivePlayerMoneyGR" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33501) : error 017: undefined symbol "GivePlayerMoneyGR" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33526) : error 017: undefined symbol "GivePlayerMoneyGR" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.[/pawn]
-
Nu inteleg ce trebuie sa fac cu aia :(
-
Pai si unde ma duc in joc si dau /save , ma duc in locu unde am camioanele ptr. jobul trucker , si dau /save in camion sau jos ?
-
Cred ca problema este de la /buybiz , pentru ca atunci cand vreau sa cumpar alt biz imi zice in chat " You already own a business " . Revin cu edit sa vad daca rezolv . EDIT: Am adaugat comanda ta si imi da erorile astea : [pawn]D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33514) : error 017: undefined symbol "OnPlayerSaveData" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33515) : error 017: undefined symbol "OnPropTextdrawUpdate" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33534) : error 017: undefined symbol "OnPlayerSaveData" D:\Backup SAMP Server\gamemodes\godfatherNEW.pwn(33535) : error 017: undefined symbol "OnPropTextdrawUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. [/pawn]
-
Mersi frumos a mers insa e la fel , cand dau /factionpayday nu primesc nici un ban (
-
Salut , am si eu o problema , cred ca tine de comanda /sellbiz , pentru ca atunci cand dau /sellbiz , bizz-u se vinde insa eu daca vreau sa cumpar altul imi zice ca deja am un bizz . Ce as putea sa fac [pawn]if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_WHITE, "Ne pare rau, dar nu detineti un Business"); return 1; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_WHITE, "Ne pare rau, dar sunteti Casatorit asa ca nu puteti vinde acest Business."); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]-100; GivePlayerMoney(playerid,SBizzInfo[bouse][sbBuyPrice]); SBizzInfo[bouse][sbLocked] = 1; SBizzInfo[bouse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[bouse][sbOwner], "The State", 0, strlen("The State"), 255); strmid(SBizzInfo[bouse][sbExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Felicitari~n~ Ati vandut business-ul ~n~~g~%d$", SBizzInfo[bouse][sbTill]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPbiskey] = 255; OnPropUpdate(); OnPlayerUpdate(playerid); return 1; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]; BizzInfo[bouse][bLocked] = 1; BizzInfo[bouse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bouse][bOwner], "The State", 0, strlen("The State"), 255); strmid(BizzInfo[bouse][bExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; GivePlayerMoney(playerid,BizzInfo[bouse][bBuyPrice]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~FElicitari~n~ Ati vandut business-ul ~n~~g~%d$", BizzInfo[bouse][bTill]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPbiskey] = 255; OnPropUpdate(); OnPlayerUpdate(playerid); format(string, sizeof(string), "Business Bot: %s a vandut bizz-ul cu ID-ul %d.", sendername, bouse); ABroadCast(COLOR_YELLOW,string,1); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "Ne pare rau, dar nu detineti un Business.."); } } return 1; }[/pawn]
-
Imi apar erorile astea : [pawn]D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(32872) : error 004: function "OnPlayerUpdate" is not implemented D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(32890) : error 004: function "OnPlayerUpdate" is not implemented Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. [/pawn]
-
Pai dupa ce se finalizeaza procesul de compilare al fisieului .pwn trebui sa apara si fisierul .amx , corect ? E la mine numai apare nu stiu de ce :-"
-
Am adaugat aceasta comanda /factionpayday , insa acum dupa compilare nu apare nici o eroare insa nu apare nici .amx salvat :-" [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) { 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] == 14||PlayerInfo[pMember] == 14) { 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] == 15||PlayerInfo[pMember] == 15) { 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] == 16||PlayerInfo[pMember] == 16) { 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); } } } } } }[/pawn]
-
La fel , nu imi da nici un BAN :(
-
Si cum anume sa le setez :-|
-
Acum imi apare in chat Your are not in the right place .....
-
Rezolvat , Merci Gireada ai un +1 ;)