04.02.2009, 21:25
pawn Код:
public GateOpen(playerid)
{
new pname[24];
GetPlayerName(playerid, pname, sizeof(pname));
for(new i=0; i < GetMaxPlayers(); i++)
{
SendClientMessage(i, GREEN, "[Gate]%s is a registerd Admin ... Gate open",pname); // here
MoveObject(admingate,1067.368042, 1357.989380, 6.322992, 3.5);
SetTimer("GateClose", 5000, 0);
}
return 1;
}
public NoAdmin(playerid)
{
new pname[24];
GetPlayerName(playerid, pname, sizeof(pname));
for(new i=0; i < GetMaxPlayers(); i++)
{
SendClientMessage(i, RED, "[Gate]%s is no registerd Admin ... Gate cloased",pname); //and here
}
return 1;
}
Код:
C:\DOKUME~1\Mike\Desktop\GTASER~1\GAMEMO~1\STUNTS~1.PWN(4368) : warning 202: number of arguments does not match definition C:\DOKUME~1\Mike\Desktop\GTASER~1\GAMEMO~1\STUNTS~1.PWN(4398) : warning 202: number of arguments does not match definition