SA-MP Forums Archive
[Solved] argument type mismatch (argument 2)? - 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: [Solved] argument type mismatch (argument 2)? (/showthread.php?tid=123328)



[Solved] argument type mismatch (argument 2)? - bajskorv123 - 25.01.2010

Hey

When i compile i get these errors:
Код:
C:\Server\gamemodes\ .pwn(585) : error 035: argument type mismatch (argument 2)
C:\Server\gamemodes\ .pwn(585) : error 035: argument type mismatch (argument 2)
C:\Server\gamemodes\ .pwn(702) : error 035: argument type mismatch (argument 2)
C:\Server\gamemodes\ .pwn(702) : error 035: argument type mismatch (argument 2)
C:\Server\gamemodes\ .pwn(737) : error 035: argument type mismatch (argument 2)
C:\Server\gamemodes\ .pwn(737) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Here are the rows:

Код:
(585)  GetPlayerName(playerid, sendername, sizeof(sendername));
(702)  GetPlayerName(playerid, sendername, sizeof(sendername));
(737)  GetPlayerName(playerid, sendername, sizeof(sendername));



Re: [Solved] argument type mismatch (argument 2)? - bajskorv123 - 25.01.2010

Or nevermind i solved it i just forgot
Код:
[MAX_PLAYER_NAME]
After the name variables :P