Can't get my car to TP with me
#2

pawn Код:
case 1://San Fierro
                    if(!IsPlayerInAnyVehicle(playerid))
                    {
                        SetPlayerVirtualWorld(playerid, 0);
                        SetPlayerInterior(playerid, 0);
                        SetPlayerPos(playerid, -1641.9742, 431.1623, 7.1102);
                    }
                    else
                    {
                        SetVehiclePos(GetPlayerVehicleID(playerid), -1641.9742, 431.1623, 7.1102);
                        SendClientMessage(playerid, -1, "Teleported !");
                    }
That should work.
Reply


Messages In This Thread
Can't get my car to TP with me - by Deal-or-die - 19.04.2011, 04:16
Re: Can't get my car to TP with me - by antonio112 - 19.04.2011, 04:23

Forum Jump:


Users browsing this thread: 1 Guest(s)