04.11.2012, 16:47
Oh thanks.
I added a score array.
It gives me 2 warnings:
I added a score array.
It gives me 2 warnings:
PHP код:
public OnPlayerConnect(playerid)
{
new MSG[250];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
new Ip[256];
GetPlayerIp(playerid,Ip,sizeof(Ip));
new score;
GetPlayerScore(playerid,score,sizeof(score));//That's the warning line.
format(MSG,sizeof(MSG),"Player %s | IP: %s | Score: %s has entered in the server", Name, Ip, score);
SendClientMessageToAll(GREEN,MSG);
return 1;
}
Код:
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(50) : warning 202: number of arguments does not match definition G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(50) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.