Admin Door
#2

pawn Код:
if (strcmp(cmdtext, "/kapiac", true) == 0)
    {
        if(IsPlayerAdmin(playerid))
        {
            SendPlayerFormattedText(playerid, "Sadece adminler kapiyi acabilir.", 0);
        }
        else
        {
            if(AttachObjectToPlayer(adminkapi,playerid,1.5, 0.5, 0, 0, 1.5, 2)) //You were missing a ')'
            {
                MoveObject(adminkapi, 1256.65, -766.82, 92.75, 8);
            }
            else
            {
                PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0);
                MoveObject(adminkapi, 1256.65, -766.82, 92.75, 8);
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Admin Door - by Emrets61 - 16.06.2009, 10:55
Re: Admin Door - by bogeymanEST - 16.06.2009, 11:06
Re: Admin Door - by Emrets61 - 16.06.2009, 11:11

Forum Jump:


Users browsing this thread: 1 Guest(s)