PutPlayerInVehicle Desync bug in 0.3e
#1

I do not really speak english, but I think the video will explain everything.

[ame="http://www.youtube.com/watch?v=QEtOz_iQZf4"]http://www.youtube.com/watch?v=QEtOz_iQZf4[/ame]

I have problem only 0.3e and 0.3e-R2. 0.3d and 0.3c version below works perfectly.
This is a test mode.

Код:
#include <a_samp.inc>

main( )
{

}

public OnPlayerCommandText( playerid, cmdtext[ ] )
{
	if( !strcmp( cmdtext, "/nrg", true ) )
	{
		new Float:P[3];
		GetPlayerPos( playerid, P[ 0 ], P[ 1 ], P[ 2 ] );
		
		PutPlayerInVehicle( playerid, CreateVehicle( 522, P[ 0 ], P[ 1 ], P[ 2 ], 0.0, random( 127 ), random( 127 ), 2000 ) ,0 );
		
		return 1;
	}
	return 0;
}
Reply
#2

I will test this soon and i will come back with details!
Reply
#3

Confirmed. It happened a lot of times to me in different servers.
Reply
#4

lol'd you guys got penise'd by nrg's
Doesn't happen to me.
Reply
#5

Nope does not happen to me.
I use putplayerinvehicle for my /v (car name) and it works 100%
But what it might be is from OnPlayerUpdate becouse 1/2 years ago I hade a loop inside the OnPlayerUpdate to check for all players (test purposes!) and that cause the players to desynch badly, I'm talking about players. Start to disappear etc.

So check If you have any kind of inappropriate code under there.
Reply
#6

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
Nope does not happen to me.
I use putplayerinvehicle for my /v (car name) and it works 100%
But what it might be is from OnPlayerUpdate becouse 1/2 years ago I hade a loop inside the OnPlayerUpdate to check for all players (test purposes!) and that cause the players to desynch badly, I'm talking about players. Start to disappear etc.

So check If you have any kind of inappropriate code under there.
No, he doesn't use anything like that. He also shows a blank gamemode with only a /nrg command.
It's a 0.3e bug and it happens when you are passenger and the driver spawns another vehicle. You see no driver, but an empty car moving around + the vehicle he spawned.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)