SCRIPT HELP, MISMATCH - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SCRIPT HELP, MISMATCH (
/showthread.php?tid=194963)
SCRIPT HELP, MISMATCH -
Darklom - 01.12.2010
Код:
DropGun.pwn(162) : error 035: argument type mismatch (argument 2)
DropGun.pwn(163) : error 035: argument type mismatch (argument 1)
DropGun.pwn(163) : error 035: argument type mismatch (argument 1)
DropGun.pwn(164) : error 012: invalid function call, not a valid address
pawn Код:
GetPlayerName(playerid,sizeof(sendername));
format(string, sizeof(string), "* %s drops his weapon to the ground.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE;
What can I do to fix these errors?
Re: SCRIPT HELP, MISMATCH -
willsuckformoney - 01.12.2010
pawn Код:
GetPlayerName(playerid,sendername,sizeof(sendername));
Not sure about ProxDetector