I search for plugin - 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: I search for plugin (
/showthread.php?tid=90305)
I search for plugin -
nooble - 07.08.2009
Hi all, i am searching for plugin (car spawner) or something like that...
Example: /nrg - and the NRG-500 is spawned
example2: /firetruck - and firetruck is spawned.
Thanks for the help.
PS. Sorry for my bad english...
Re: I search for plugin -
UsaBoy91 - 07.08.2009
lol , that's not a plugin , but you can make on
pawn Код:
// OnPlayerCommandText
if(!strcmp(cmdtext,"/nrg500",true))
{
if(IsPlayerConnected(playerid))
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateVehicle(522,x+1,y+1.5,z,0.0,random(99),random(100),60);
SendClientMessage(playerid,random(0xFFFFFFFF),"A NRG has been created.");
}
}
CreateVehicle Parameters:
522 - vehicle model
x - first coord
y - 2nd coord
z - 3nd coord
0.0 - FacingAngle
random(99) - first color
random(100) - 2nd color
60 - respawn car time ( seconds )
## You can make another car commands , by copying that command , and changing the Vehicle Model
Here's a list:
https://sampwiki.blast.hk/wiki/Vehicles:All
Re: I search for plugin -
nooble - 07.08.2009
lol for 200 cars... it have to be a long time to do that... I saw this mod in other servers so i want it too.. i dont think they wrote their ....
Thanks a lot anyway
Re: I search for plugin -
Daem - 07.08.2009
lol, search,
http://forum.sa-mp.com/index.php?topic=76977.0