PHP Code:
stock AutoBanPlayer(playername, reason)
{
//codes here
return 1;
}
PHP Code:
AutoBanPlayer(GetName(playerid),"test");
Code:
D:\samp folder\ZoneX - ZX\gamemodes\ZoneX.pwn(2766) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.