24.07.2012, 15:09
PHP код:
if (strcmp("/Medicduty", cmdtext, true, 10) == 0)
{
{
if(GetPlayerTeam(playerid) == TEAM_ME)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,-15.3097,-157.6416,1018.7024))
SetPlayerSkin(playerid,274);
}
else
{
SendClientMessage(playerid,0xE00404,"You are not in the medic loker room");
}
}
else
{
SendClientMessage(playerid,0xE00404,"You are not a medic");
}
}
PHP код:
else
{
SendClientMessage(playerid,0xE00404,"You are not a medic");
}
PHP код:
: error 029: invalid expression, assumed zero