need help on setting players interior from 0 to 12 every 0.4 seconds...
#4

Quote:
pawn Code:
public objectreload()
{
    for(new playerid; playerid < MAX_PLAYERS; ++playerid)
    {
        if(IsPlayerConnected(playerid))
        if(GetPlayerInterior(playerid) == 12)
            return SetPlayerInterior(playerid,0);
        SetPlayerInterior(playerid,GetPlayerInterior(playerid)+1);
    }
    return 1;
}
also thats a bit weird because it's on interior 12 and goes to 0 then back to 12 again.... i want it the opposite so its on interior 0 and goes to 12 and back to 0 so you can see the original map properly aswell...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)