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

Quote:
pawn Code:
public objectreload()
{
    for(new playerid; playerid < MAX_PLAYERS; ++playerid)
    {
        if(GetPlayerInterior(playerid) == 12) return SetPlayerInterior(playerid,0);
        SetPlayerInterior(playerid,GetPlayerInterior(playerid)+1);
        if(IsPlayerInAnyVehicle(playerid)) LinkVehicleToInterior(GetPlayerVehicleID(playerid),GetPlayerInterior(playerid)+1)
    }
    return 1;
}
bug: on normal map it's invisible and goes to interior 0 for like a split second and the car goes invsible for a split second aswell....

isnt their another of fixing the object bug in a timer for example using
pawn Code:
Streamer_Update(playerid);
or either
pawn Code:
Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)