24.07.2015, 00:19
PHP код:
CMD:afk(playerid, params[])
{
SetPlayerPos(playerid, 322.197998,302.497985,999.148437);
SetPlayerInterior(playerid, 5);
SetPlayerHealth(playerid, 9999);
ResetPlayerWeapons(playerid);
new string[64];
format(string, sizeof string, "o Jogador (%s) Estб no /AFK", PlayerName(playerid));
SendClientMessageToAll(COR_ERRO, string);
else{
SpawnPlayer(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
format(string, sizeof string, "o Jogador (%s) Saiu Do AFK /sairafk", PlayerName(playerid));
SendClientMessageToAll(COR_ERRO, string);
}
return 1;
}
PHP код:
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(930) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.