[HELP] Spawning vehicles
#1

Please tell me how to make a player to spawn a vehicles

like
if he commands /car
PutPlayerInVehicle(playerid,400,1)

is it the way or some thing else
and what about the seat id tell me
Reply
#2

Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/car", true)==0)
{
PutPlayerInVehicle(playerid,400,1);
return 1;
}
return 0;
}

Do you want the car to get teleported near the player and the player is in it or the player gets teleported to the vehicle and the player enters it?
Reply
#3

i want the car to teleport to player and player should get in automatically

y the way i am using it for menu so will it be like this
case 0:
{
PutPlayerInVehicle(playerid,400,1);
return 1;
}
Reply
#4

Can you speak english?
Reply
#5

Quote:
Originally Posted by MoroJr™
Can you speak english?
r u here to spam only
don't go offtopic
Reply
#6

anyone to help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)