Set player vehicle on teleport
#7

try
pawn Код:
if((strcmp("/bikerace", cmdtext, true) == 0)))
{
    SetPlayerInterior(playerid,4);
    SendClientMessage(playerid, 0x00FFFFAA, "You've been teleported to Bike Race.");
    new vehicleid = CreateVehicle(468,-1424.93,-664.58,1059.85, 180.0, -1, -1, -1);
    LinkVehicleToInterior(vehicleid,4);
    PutPlayerInVehicle(playerid,vehicleid, 0);
    return 1;
}
but I dont belive that samp can create car and put you in it so quick, because when you create car its need some 10 ms to spawn car at all
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: 1 Guest(s)