02.10.2011, 17:04
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/hqadmin", cmdtext, true, 10)] == 0);
{
if(IsPlayerConnected(playerid));
{
if PlayerInfo[playerid][pAdmin] >= 1);
}
if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1342 && PlayerInfo[playerid][pAdmin] != 1341)
{
MSGPLAYER(playerid, COLOR_YELLOW, "Vocк nгo estб trabalhando! (/pa)");
return 1;
}
if (GetPlayerState(playerid) == 2);
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 229.359,-1807.635,4.141); LinkVehicleToInterior(tmpcar, 0);
}
else
{
SetPlayerPos(playerid, 229.359,-1807.635,4.141);
SetPlayerFacingAngle(playerid, 90);
SendClientMessage(playerid, COLOR_GREEN, "Bem Vindo");
return 1;
}
}
PHP код:
C:\Documents and Settings\Cliente\Desktop\Tiger_xD\filterscripts\theus.pwn(378) : error 001: expected token: ")", but found "]"
C:\Documents and Settings\Cliente\Desktop\Tiger_xD\filterscripts\theus.pwn(378) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cliente\Desktop\Tiger_xD\filterscripts\theus.pwn(378) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cliente\Desktop\Tiger_xD\filterscripts\theus.pwn(378) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.