I search for plugin
#1

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...
Reply
#2

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
Reply
#3

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
Reply
#4

lol, search, http://forum.sa-mp.com/index.php?topic=76977.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)