SA-MP Forums Archive
cant not fine this error! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: cant not fine this error! (/showthread.php?tid=544968)



cant not fine this error! - ThunderX - 05.11.2014

pawn Код:
C:\Users\PANNAWIT\Desktop\test file\c4.pwn(36) : warning 202: number of arguments does not match definition
pawn Код:
bomb1 =  CreatePickup(1252, 0, X, Y, Z, -1, -1);

QUESTION : how can i fix this i try but fail


Re: cant not fine this error! - Fj0rtizFredde - 05.11.2014

Remove the last ,-1.

pawn Код:
bomb1 =  CreatePickup(1252, 0, X, Y, Z, -1);



Re: cant not fine this error! - ThunderX - 05.11.2014

thank you it work now

i forgot about that just delete -1