13.02.2009, 16:55
I have the LinkVehicleToInterior thing, but when the vehicles respawn they dont take the right interior.(the vehicles become invisible)
How to fix that?
How to fix that?
|
Originally Posted by Rav
Link it to the interior again @ OnVehicleSpawn(vehicleid) ?
|
|
Originally Posted by plɹoʍ ʎʇɹǝqıl
How would i do that?
Is there like a SetVehicleInterior? |
LinkVehicleToInterior(name,4);
SetPlayerInterior(playerid, GetPlayerInterior(pid))
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(pid))
if (IsPlayerInAnyVehicle(playerid))
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid), GetPlayerInterior(pid))
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), GetPlayerVirtualWorld(pid))
//now the teleport stuff
|
Originally Posted by Daren_Jacobson
this is an example of /warp (/goto for you godfatherers(i did this in the reply box, so it might be bad))
pawn Код:
|
|
Originally Posted by ♣ ⓐⓢⓢ
what you mean exactly ?
|