I search for plugin
#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


Messages In This Thread
I search for plugin - by nooble - 07.08.2009, 14:04
Re: I search for plugin - by UsaBoy91 - 07.08.2009, 14:29
Re: I search for plugin - by nooble - 07.08.2009, 14:45
Re: I search for plugin - by Daem - 07.08.2009, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)