[FilterScript] (0.3z)Simple C4 system with Object And Animation!
#10

You fucked up, you need to destroy the dynamic objects when a player disconnects.

Also this is silly.

pawn Code:
for(new i; i < 11;i++)
          {
            if(c4posx[i][playerid] != 9999 && c4posy[i][playerid] != 9999 && c4posz[i][playerid] != 9999)
Your going to loop every time the player presses walk? Not only that make a bunch of silly checks you don't need to do that.

Just do this,
pawn Code:
if(c4[playerid])
{
    for(new i = 0; i < c4[playerid]; i++)
    {

    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)