[HELP]DestroyPlayerObject
#2

pawn Код:
new hadalwall[MAX_PLAYERS];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] < 5)
        {
                hadalwall[i] = CreatePlayerObject(i,2395, 548.61, 2567.65, 348.70,   0.00, 270.00, 180.00);
        }
    }
If the player's level is below 5, the object is being created, if he's 5 or above, it's not. No need to first create it and then destroy it again.
Reply


Messages In This Thread
[HELP]DestroyPlayerObject - by xRandomGuy - 03.02.2012, 15:20
AW: [HELP]DestroyPlayerObject - by Drebin - 03.02.2012, 15:47
Re: [HELP]DestroyPlayerObject - by xRandomGuy - 03.02.2012, 16:10
AW: [HELP]DestroyPlayerObject - by Drebin - 03.02.2012, 16:14
Re: [HELP]DestroyPlayerObject - by xRandomGuy - 03.02.2012, 16:33
AW: [HELP]DestroyPlayerObject - by Drebin - 03.02.2012, 16:45
Re: [HELP]DestroyPlayerObject - by xRandomGuy - 03.02.2012, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)