[HELP] Plz help me
#5

pawn Код:
if (strcmp("/gate1", cmdtext, true, 10) == 0)
    {
        new pskin = GetPlayerSkin(playerid);
        if(pskin == 265 || pskin == 266 || pskin == 267 || pskin == 280 || pskin == 281 || pskin == 284 || pskin == 285 || pskin == 286 || pskin == 287 || pskin == 288)
               {
        MoveObject(gate1,2681.3083496094, 659.74249267578, 11.495002746582,3.0);
        SendClientMessage(playerid,0xFFFF00FF,"You have just opened the front gate");
        return 1;
               }
               else
        {
        return SendClientMessage(playerid, 0xFF0000AA, "You are not a police officer!");
        }

    }
    else if (strcmp("/gate2", cmdtext, true, 10) == 0)
    {
         new pskin = GetPlayerSkin(playerid);
         if(pskin == 265 || pskin == 266 || pskin == 267 || pskin == 280 || pskin == 281 || pskin == 284 || pskin == 285 || pskin == 286 || pskin == 287 || pskin == 288)
    {
        MoveObject(gate1,2680.9462890625, 651.83990478516, 11.495002746582,3.0);
        SendClientMessage(playerid,0xFFFF00FF,"You have just closed the front gate");
                }
                else
        {
        SendClientMessage(playerid, 0xFF0000AA, "You are not a police officer!");
        }
         return 1;

 }
This forum requires that you wait 120 seconds between posts. Please try again in 34 seconds.
fuc yew :d
Reply


Messages In This Thread
[HELP] Plz help me - by zack3021 - 04.09.2010, 18:22
Re: [HELP] Plz help me - by SpaZ (Ed) - 04.09.2010, 18:28
Re: [HELP] Plz help me - by zack3021 - 04.09.2010, 20:03
Re: [HELP] Plz help me - by zack3021 - 04.09.2010, 21:02
Re: [HELP] Plz help me - by WillyP - 04.09.2010, 21:05

Forum Jump:


Users browsing this thread: 3 Guest(s)