[Question] GetPlayerSkin
#1

well ok here my code
pawn Код:
if(strcmp(cmdtext,"/closecg", true)==0) {
        if(GetPlayerSkin(playerid)==285)
        {
        SendClientMessage(playerid, 0x222222BB , "Closing LS Cops And Prison Base");
        MoveStreamObject(copgate, 836.3671875, -2072.7314453125, 12.89999961853, 5);
        }
        else
        {
        SendClientMessage(playerid, red, "Sorry you need to be a cop to Open or Close This Gate");
        }
    return 1;
    }
i want for make it so that ids 285 and 266 can open this gate but i cant seem to figure it out


Cheers,
Nameless
Reply


Messages In This Thread
[Question] GetPlayerSkin - by fsnameless - 01.01.2010, 00:38
Re: [Question] GetPlayerSkin - by [HiC]TheKiller - 01.01.2010, 01:52
Re: [Question] GetPlayerSkin - by fsnameless - 01.01.2010, 02:08
Re: [Question] GetPlayerSkin - by Calon - 01.01.2010, 02:09
Re: [Question] GetPlayerSkin - by fsnameless - 01.01.2010, 03:06

Forum Jump:


Users browsing this thread: 1 Guest(s)