SA-MP Forums Archive
command [Help] - 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: command [Help] (/showthread.php?tid=628990)



command [Help] - crukk11 - 18.02.2017

I'm looking for 1 scripts: /car (car name)

The /car filterscript should spawn a car like this /car infernus or /car nrg etc

NOTE: There should be a LIMIT of only spawning 1 car at a time, the spawned car should be destroyed when the players leaves! And that's about it

Read this too! Yes I know that there's tons of these filterscripts but none of them are doing what I want them to do

1: one vehicle per spawn
2: Destroy vehicle on disconnect


Re: command [Help] - JesterlJoker - 18.02.2017

Well all those filterscripts are already doing one thing. Spawning the car. If you want them to work on what you want you could just add the maximum cars that can be spawned and add the DestroyVehicle on OnPlayerDisconnect.


Re: command [Help] - RyderX - 18.02.2017

it's Scripting Help Board, not we script for you


Re: command [Help] - crukk11 - 18.02.2017

ok im sorry for asking anyting to everyone but can you translate the code like zcmd to dcmd?




Re: command [Help] - crukk11 - 18.02.2017

or teach me

im soo nubis




Re: command [Help] - JesterlJoker - 18.02.2017

Quote:
Originally Posted by crukk11
Посмотреть сообщение
ok im sorry for asking anyting to everyone but can you translate the code like zcmd to dcmd?

no

Quote:
Originally Posted by crukk11
Посмотреть сообщение
or teach me

im soo nubis

yes

don't double post. You can click the pencil button to edit your post


Re: command [Help] - RyderX - 18.02.2017

Quote:
Originally Posted by crukk11
Посмотреть сообщение
ok im sorry for asking anyting to everyone but can you translate the code like zcmd to dcmd?

How To Make Commands