car spawn - 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)
+--- Thread: car spawn (
/showthread.php?tid=479025)
car spawn -
Toxykx - 02.12.2013
please help me to do this:
When i type /mycar car ID : "Dima" Spawns infront of me!
its kinda a private car.. and i want a cmd to spawn it
Thanks alot!
Re: car spawn -
SilentSoul - 02.12.2013
Here!
Re: car spawn -
Toxykx - 02.12.2013
Quote:
Originally Posted by SilentSoul
|
no no.. its kinda a private car.. and i want a cmd to spawn it
Re: car spawn -
SilentSoul - 02.12.2013
Show me your car system commands , and variables also the enum of the player cars.
Re: car spawn -
Toxykx - 02.12.2013
Quote:
Originally Posted by SilentSoul
Show me your car system commands , and variables also the enum of the player cars.
|
This :
https://sampforum.blast.hk/showthread.php?tid=283929
Re: car spawn -
Toxykx - 02.12.2013
UP!!!
Re: car spawn -
SilentSoul - 02.12.2013
pawn Код:
CMD:mycar(playerid, params[])
{
new float:x,float:y,float:z;
GetPlayerPos(playerid,x,y,z);
FireCat = CreateVehicle(411,x+2,y+2,z,1,146,146,60);
return true;
}
Re: car spawn -
Toxykx - 02.12.2013
Quote:
Originally Posted by SilentSoul
pawn Код:
CMD:mycar(playerid, params[]) { new float:x,float:y,float:z; GetPlayerPos(playerid,x,y,z); FireCat = CreateVehicle(411,x+2,y+2,z,1,146,146,60); return true; }
|
where do i put that?
Re: car spawn -
SilentSoul - 02.12.2013
Quote:
Originally Posted by Toxykx
where do i put that?
|
Any where in your script.
Re: car spawn -
Toxykx - 02.12.2013
Quote:
Originally Posted by SilentSoul
Any where in your script.
|
error 017: undefined symbol "mycar"