27.06.2011, 18:43
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);