HelpMe #2 [+REP] - 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: HelpMe #2 [+REP] (
/showthread.php?tid=294204)
HelpMe #2 [+REP] -
NessaHD - 31.10.2011
Hey guys, i keep thinking about this:
Does i have to make a command for every vehicle in the game, if i want to make a vehicle spawner without dialogs?
Like this, but just with EVERY vehicle:
pawn Код:
if (strcmp("/xnrg", cmdtext, true, 10) == 0)
  {
      new Float:X;
      new Float:Y;
      new Float:Z;
      GetPlayerPos(playerid,X,Y,Z);
      GameTextForPlayer(playerid,"~y~You've spawned a ~r~NRG",2500,1);
      CreateVehicle(522,X,Y+5,Z,1,1,1,90000);
      return 1;
  }
Reply, +rep for the one who helps.
Re: HelpMe #2 [+REP] -
Wesley221 - 31.10.2011
If you take a look at my filterscript which is in my signature (adding a link aswell in a min), you got an example of how it is made
https://sampforum.blast.hk/showthread.php?tid=273791
Re: HelpMe #2 [+REP] -
NessaHD - 31.10.2011
Ooh, thanks.