Set player vehicle on teleport
#3

Yes post your teleport command, Well i've wrote a example below.
pawn Код:
if (strcmp("/bikerace", cmdtext, true, 10) == 0)
{
    //your teleport code's here.
    new Float:x, Float:y, Float:z, Float:angle;
    GetPlayerPos(playerid, x, y, z);
    GetPlayerFacingAngle(playerid, angle);
    new vehicleid = CreateVehicle(468, x, y, z, angle, -1, -1, -1);
    PutPlayerInVehicle(playerid, vehicleid, 0);
    return 1;
}
Reply


Messages In This Thread
Set player vehicle on teleport - by Beginnercoder - 12.02.2011, 16:40
Re: Set player vehicle on teleport - by Ash. - 12.02.2011, 16:43
Re: Set player vehicle on teleport - by HyperZ - 12.02.2011, 17:13
Re: Set player vehicle on teleport - by Beginnercoder - 12.02.2011, 17:18
Re: Set player vehicle on teleport - by Shadow™ - 12.02.2011, 17:52
Re: Set player vehicle on teleport - by Beginnercoder - 12.02.2011, 20:58
Re: Set player vehicle on teleport - by Voldemort - 12.02.2011, 22:04

Forum Jump:


Users browsing this thread: 3 Guest(s)