Streamer_UpdateEx for updating objects? :3
#6

pawn Код:
//Top

forward UpdateMap(playerid, Float:x, Float:y, Float:z);

//Somewhere

public UpdateMap(playerid, Float:x, Float:y, Float:z)
{
    GetPlayerPos(playerid, Float:x, Float:y, Float:z);
    Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z);
}

//Under OnPlayerUpdate
//You can check if the play is in a vehicle here
SetTimer("UpdateMap", 1000, true);
Try that. Dunno if it caouse lag or something, lol.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)