[FilterScript] [FS] Automatic Car Tuner - 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] Automatic Car Tuner (
/showthread.php?tid=99076)
[FS] Automatic Car Tuner -
AG Adam - 25.09.2009
Hi!
Today I created a fiterscript. It gives the car 10X Nitro and Hydraulics, when a player enters a vehicle as passenger, or drive the car. It uses Mike’s ’Mikefunc’ include (I renamed to a_mike). You can download it here.
Changes in 1.1
There are little changes in 1.1. First, I created a command. It resprays the vehicle with random colors.
pawn Код:
if (strcmp(cmdtext, "/paint", true)==0)
{
if (IsPlayerInAnyVehicle(playerid)) // If the player in Any vehicle, it resprays it.
{
new car = GetPlayerVehicleID(playerid);
RandomColors(car);
SendClientMessage(playerid,0x456eaf67,"Your vehicle is resprayed to random colors.");
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
PlayerPlaySound(playerid,1134,x,y,z); // Playing the respray sound
}
return 1;
}
[size=14pt]Added three lines to OnPlayerKeyStateChange:
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
PlayerPlaySound(playerid,1133,x,y,z); // Plays the car mod sound.
[size=16pt]Downloads
a_mike.inc
cartuner.pwn - 1.0
cartuner.amx - 1.0
cartuner.pwn - 1.1
cartuner.amx - 1.1
Screenshots
Installing
1. Download the files.
2/1 - Copy the a_mike.inc to Yourserver\Pawno\Include folder.
2/2 - Copy the AMX file to Yourserver\Filterscripts folder.
3. Write to your Server.cfg in the filterscripts line: cartuner.
4. Play the game and use my script.
Please don’t remove the credits.
Sorry for my English, that is not brilliant because I am Hungarian. (But I try to speak good and don't drop any language mistakes.)
Re: [FS] Automatic Car Tuner -
TraNe15 - 25.09.2009
It's very simple FS. However it's creative.. But i won't download
Thank you.Keep Up
EDIT: I have just seen the pictures. Gametext looks bad.. I suggest you to change it..
-TraNe15-
Re: [FS] Automatic Car Tuner -
AG Adam - 25.09.2009
Quote:
Originally Posted by TraNe15
It's very simple FS. However it's creative.. But i won't download Thank you.Keep Up
EDIT: I have just seen the pictures. Gametext looks bad.. I suggest you to change it..
-TraNe15-
|
Okay. I will change it in the next version, but why looks bad? Use the 6th style, and put some ~n~ to put it under vehicle? Because the 6th style is very good.
EDIT: Ended the working, use it.