04.11.2012, 16:40
Hi, Can someone help me to fix this problem, Sorry, I'm newbie at scripting.
It gives me 2 errors:
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(4 : error 035: argument type mismatch (argument 2)
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(4 : error 035: argument type mismatch (argument 2)
PHP код:
public OnPlayerConnect(playerid)
{
new MSG[250];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
new Ip;
GetPlayerIp(playerid,Ip,sizeof(Ip));
format(MSG,sizeof(MSG),"Player %s | IP: %s has entered in the server", Name, Ip);
SendClientMessageToAll(GREEN,MSG);
return 1;
}
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(4 : error 035: argument type mismatch (argument 2)
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(4 : error 035: argument type mismatch (argument 2)