Bandowsky. Posted January 19, 2017 Report Share Posted January 19, 2017 Deci am facut un script ceva modificat de la getgift,si cand am dat compile mi-a dat eroarea asta Acesta este codul: if(pack == 13) { GivePlayerCash(playerid, 879234); Update(playerid, pCashx); PlayerInfo[playerid][pPack] -= 1; Update(playerid, pPackx); SendClientMessage(playerid, COLOR_YELLOW,"{ffffff}In acest pack ti-a cazut:Bani(in fine,nu scrie asta aici)"); return 1; } Problema :(44350) : error 029: invalid expression, assumed zero (44350) : error 035: argument type mismatch (argument 2) Linia 44350: Update(playerid, pPackx); Link to comment Share on other sites More sharing options...
0 Daedric-Fox Posted January 20, 2017 Report Share Posted January 20, 2017 9 minutes ago, Bandowsky. said: #define pPackx Si i-am facut si case pai trebuie sa aiba si un numar, sau ai pus doar asa? #define pPackx ********************************** Servicii Scripting de calitate: ********************************* Future Project: ExpertGame ********************************* Link to comment Share on other sites More sharing options...
0 InceMan Posted January 19, 2017 Report Share Posted January 19, 2017 Incearca asa if(pack == 13) { GivePlayerCash(playerid, 879234); PlayerInfo[playerid][pPack] -= 1; Update(playerid, pPackx); SendClientMessage(playerid, COLOR_YELLOW,"{ffffff}In acest pack ti-a cazut:Bani(in fine,nu scrie asta aici)"); return 1; } poti sa faci si o schimbare daca doriti new randmoney = 100000 + random(90000); //suma de bani GivePlayerCash(playerid, randmoney); Update(playerid, pCashx); etc. FiveGame Lands Pawno Developer, Mapping , Scripter Since 2016 Link to comment Share on other sites More sharing options...
0 Bandowsky. Posted January 19, 2017 Author Report Share Posted January 19, 2017 Aceeasi problema... Link to comment Share on other sites More sharing options...
0 Daedric-Fox Posted January 19, 2017 Report Share Posted January 19, 2017 10 minutes ago, Bandowsky. said: Aceeasi problema... la ce linii iti da eroarea? ********************************** Servicii Scripting de calitate: ********************************* Future Project: ExpertGame ********************************* Link to comment Share on other sites More sharing options...
0 Bandowsky. Posted January 20, 2017 Author Report Share Posted January 20, 2017 La Update(playerid, pPackx) Link to comment Share on other sites More sharing options...
0 Daedric-Fox Posted January 20, 2017 Report Share Posted January 20, 2017 23 minutes ago, Bandowsky. said: La Update(playerid, pPackx) cum e definit pPackx ? ********************************** Servicii Scripting de calitate: ********************************* Future Project: ExpertGame ********************************* Link to comment Share on other sites More sharing options...
0 Bandowsky. Posted January 20, 2017 Author Report Share Posted January 20, 2017 #define pPackx Si i-am facut si case Link to comment Share on other sites More sharing options...
0 Bandowsky. Posted January 20, 2017 Author Report Share Posted January 20, 2017 Pai am pus doar asa Link to comment Share on other sites More sharing options...
0 Bandowsky. Posted January 20, 2017 Author Report Share Posted January 20, 2017 Multumesc DaEdRiC-FoX,trebuia sa-i acord un numar T/C Link to comment Share on other sites More sharing options...
Question
Bandowsky.
Problema :(44350) : error 029: invalid expression, assumed zero
Linia 44350: Update(playerid, pPackx);
Link to comment
Share on other sites
9 answers to this question
Recommended Posts