10.09.2009, 22:57
Hello!
First, I apologize for my English.
I have a command /ride that, when typed, teleports the player to the passenger seat of the ID chosen. The problem is that the command does not work well when the player is in another world, so much to me as him.
I tried to add this:
SetVehicleVirtualWorld (Vehid, GetPlayerVirtualWorld (playerid));
SetPlayerVirtualWorld (playerid, GetPlayerVirtualWorld (playerid));
But still does not work, if I use the command with a player who is a world different from mine, he becomes invisible and bug, for me the same thing happens.
How do to solve this, please?
Thanks
First, I apologize for my English.
I have a command /ride that, when typed, teleports the player to the passenger seat of the ID chosen. The problem is that the command does not work well when the player is in another world, so much to me as him.
I tried to add this:
SetVehicleVirtualWorld (Vehid, GetPlayerVirtualWorld (playerid));
SetPlayerVirtualWorld (playerid, GetPlayerVirtualWorld (playerid));
But still does not work, if I use the command with a player who is a world different from mine, he becomes invisible and bug, for me the same thing happens.
How do to solve this, please?
Thanks