[HELP] Spawning vehicles - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Spawning vehicles (
/showthread.php?tid=73169)
[HELP] Spawning vehicles -
mannu - 13.04.2009
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
Re: [HELP] Spawning vehicles -
nickbugun - 13.04.2009
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?
Re: [HELP] Spawning vehicles -
mannu - 13.04.2009
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;
}
Re: [HELP] Spawning vehicles -
Danut - 13.04.2009
Can you speak english?
Re: [HELP] Spawning vehicles -
mannu - 13.04.2009
Quote:
Originally Posted by MoroJrâ„¢
Can you speak english?
|
r u here to spam only
don't go offtopic
Re: [HELP] Spawning vehicles -
mannu - 13.04.2009
anyone to help me