can you Streamer_Update(playerid); every 2 seconds?
#1

Hi..

just thought that if you can
pawn Код:
Streamer_Update(playerid);
or either
pawn Код:
Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z);
like every 2 or 3 seconds even if your in a vehicle... it might resolve the invisible object bug and you wont need to get out of your car and in everytime to load the objects.....

...so can anybody help me? and is this possible?
Reply
#2

invisible object bug is fixable by setting the interior of you and your vehicle to an other one for a few seconds.. (like 3)..

Make a command for that, or if the normal map is not needed, you don't need a command :P
Reply
#3

im not good with timer's so could you help me out?

i know ill be using
pawn Код:
SetPlayerInterior(playerid, 0)
and
pawn Код:
LinkVehicleToInterior(vehicle1, 0);
but i dont know how to make that happen like every 3 seconds and also by setting the players interior to a diffrent one every time wouldnt that make that player like flicker for other players?
Reply
#4

It's kinda easy, didn't explain it well maybe D:

For a command, you only have to put his interior to another one ONCE.
If you don't need the normal SA map, you don't need to change back the interior after a few seconds. You don't need to change it, just put his interior to an other one..
Reply
#5

but i want the sa map aswell.... and are you like saying to set his interior on the teleport command?..
Reply
#6

well wouldnt i like do this? :-

top of script
pawn Код:
forward objectreload();
ongamemodeinit
pawn Код:
SetTimer("objectreload", 3000, false);
some where
pawn Код:
public objectreload()
{
   ........
}


but i dont know how to put the interior thing in that public :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)