[FilterScript] [FS] Extreme Vehicle Spawner - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Extreme Vehicle Spawner (
/showthread.php?tid=145848)
[FS] Extreme Vehicle Spawner -
DarkPower - 04.05.2010
DOWNLOAD:
Re: [FS] Extreme Vehicle Spawner -
XRVX - 04.05.2010
Maybe some more cars?
Re: [FS] Extreme Vehicle Spawner -
DarkPower - 04.05.2010
Quote:
Originally Posted by XRVX
Maybe some more cars?
|
Maybe in version 2

i will update soon but for now is good, or maybe i will make something like this /spawn 415 and you will get car ID: 415
Re: [FS] Extreme Vehicle Spawner -
Zh3r0 - 04.05.2010
Quote:
Originally Posted by LudiGrad
Quote:
Originally Posted by XRVX
Maybe some more cars?
|
Maybe in version 2  i will update soon but for now is good, or maybe i will make something like this /spawn 415 and you will get car ID: 415
|
There are already tons of this stuff...don't waste time, honestly.
Re: [FS] Extreme Vehicle Spawner -
Correlli - 04.05.2010
Quote:
Originally Posted by Extreme Vehicle Spawner script
pawn Код:
if (strcmp("/spawn", cmdtext, true, 10) == 0) { new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof string,"%s je napisao /spawn",name); SendClientMessageToAll(0x00FF0AFF,string); ShowMenuForPlayer(AutoProdaja,playerid); return 1; }
|
/spawn has 6 characters, not 10, and you could do it like this:
pawn Код:
if(strcmp("/spawn", cmdtext, true) == 0)
{
new
arr[48];
GetPlayerName(playerid, arr, MAX_PLAYER_NAME);
format(arr, sizeof(arr), "%s je napisao \"/spawn\"", arr);
SendClientMessageToAll(0x00FF0AFF, arr);
ShowMenuForPlayer(AutoProdaja, playerid);
return true;
}
And also this:
Quote:
Originally Posted by Extreme Vehicle Spawner script
pawn Код:
switch(row) { case 0: { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(411, X,Y,Z,0.0,1,1,300); } case 1: { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(415, X,Y,Z,0.0,1,1,300); } /* other switch/case code.. */ }
|
is a waste of variables and functions, you could just do it like this:
pawn Код:
new
Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
switch(row)
{
case 0: CreateVehicle(411, pos[0] + 2.0, pos[1] + 2.0, pos[2], 0.0, 1, 1, 300);
case 1: CreateVehicle(415, pos[0] + 2.0, pos[1] + 2.0, pos[2], 0.0, 1, 1, 300);
/* other switch/case code.. */
}
Re: [FS] Extreme Vehicle Spawner -
LasVegasMafiaStoriesRP - 04.05.2010
epic
Re: [FS] Extreme Vehicle Spawner -
park4bmx - 04.05.2010
Good Work
Re: [FS] Extreme Vehicle Spawner -
BloodMaster - 08.05.2010
Real author: [LG]ExtremePower
Real Link:
http://balkan-samp.com/forum/index.php?topic=4336.0
ccc
--------------------------
Pravi autor: [LG]ExtremePower
Pravi link:
http://balkan-samp.com/forum/index.php?topic=4336.0
Extreme, mislim da je ovo tvoje?!?!?!