OnPlayerRequestClass and /colorhelp
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 3 && !IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid,0xFF9D1CAA,"ERROR: This skin is only for players who have the permission.");
        return 0;
    }
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}
Try, not tested.

(P.S : Please if i'm wrong in something correct me, thanks).
Reply


Messages In This Thread
OnPlayerRequestClass and /colorhelp - by PabloDiCostanzo - 08.03.2013, 19:41
Re: OnPlayerRequestClass and /colorhelp - by SilverKiller - 08.03.2013, 19:55
Re: OnPlayerRequestClass and /colorhelp - by PabloDiCostanzo - 08.03.2013, 21:53
Re: OnPlayerRequestClass and /colorhelp - by SilverKiller - 08.03.2013, 22:03
Re: OnPlayerRequestClass and /colorhelp - by PabloDiCostanzo - 08.03.2013, 22:21

Forum Jump:


Users browsing this thread: 1 Guest(s)