Posts: 1,676
Threads: 44
Joined: Aug 2010
Reputation:
0
I’m not sure if this is bug or that supposed to work but when GetPlayerSirenState is 1 and exit from vehicle it still return 1 when you are out of vehicle.This could be fixed by probably checking if player is in vehicle or not.
btw what does GetMTUSize() do ?
Posts: 15,941
Threads: 0
Joined: Jun 2008
Actually, I don't think attachments are entirely impossible - just set one of their sync packets to an offset of the other one. Will lag a bit for the person driving the attachee vehicle, but not for anyone else.
Posts: 610
Threads: 18
Joined: Jan 2014
Reputation:
0
I Know, some servers more than one admin spectate a player
so with this functions is good for a loop and update the spectators.
when interior change, when enter car, when exit car.
gSpectator[MAX_PLAYERS] is good for one admin spectate a player.
Posts: 610
Threads: 18
Joined: Jan 2014
Reputation:
0
I Know it, when a player spectated by admins :
If player change his interior, Spectator must change it to. so if more than one admin spectate a player, another admins will not affected will the player change his vehicle, interior, virtual world
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
That's an issue with your script. If you use a loop and check if the value in the array for each player is the player whose interior was changed, you can set the new interior for the spectators.