Having problem with case.
#3

Quote:
Originally Posted by Kindred
Посмотреть сообщение
Yea, obviously.

pawn Код:
if (strcmp("/Medicduty", cmdtext, true, 10) == 0)
{
    if(!IsPlayerInRangeOfPoint(playerid,5.0,-15.3097,-157.6416,1018.7024)) return SendClientMessage(playerid,0xE00404,"You are not in the medic loker room");
    if(GetPlayerTeam(playerid) == TEAM_ME)
    {
        SetPlayerSkin(playerid,274);
    }
    else return SendClientMessage(playerid,0xE00404,"You are not a medic");
    return 1;
}
For all our sakes, learn to script.
There is newbies then there is you Kindred <3 be nice to the newbs.
Reply


Messages In This Thread
Having problem with case. - by TaLhA XIV - 24.07.2012, 15:09
Re: Having problem with case. - by Kindred - 24.07.2012, 15:14
Re: Having problem with case. - by Akira297 - 24.07.2012, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)