16.10.2011, 16:05
Код:
C:\Documents and Settings\Administrador\Desktop\PFRP\gamemodes\PFRP.pwn(20573) : error 001: expected token: ",", but found "[" C:\Documents and Settings\Administrador\Desktop\PFRP\gamemodes\PFRP.pwn(20573) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrador\Desktop\PFRP\gamemodes\PFRP.pwn(20573) : warning 215: expression has no effect C:\Documents and Settings\Administrador\Desktop\PFRP\gamemodes\PFRP.pwn(20573) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Administrador\Desktop\PFRP\gamemodes\PFRP.pwn(20573) : fatal error 107: too many error messages on one line
pawn Код:
if(strcmp(cmd, "/marcar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(PoderosoInfo[playerid][pTrampo] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/profadmin)");
return 1;
}
GetPlayerPos(playerid, TeleportDest[playerid][0],TeleportDest[playerid][1],TeleportDest[playerid][2]);
TeleportInt[playerid] = GetPlayerInterior(playerid);
SendClientMessage(playerid, COLOR_GRAD1, " Teleporte marcado com Sucesso!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Voce nгo esta autorizado a usar este comando!");
}
}
return 1;
}