12.02.2011, 22:04
try
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
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;
}