25.09.2009, 14:44
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.
[size=14pt]Added three lines to OnPlayerKeyStateChange:
[size=16pt]Downloads
a_mike.inc
![](http://solidfiles.com/info_imgs/Fpqr.jpg)
cartuner.pwn - 1.0
![](http://solidfiles.com/info_imgs/LrEW.jpg)
cartuner.amx - 1.0
![](http://solidfiles.com/info_imgs/eqgm.jpg)
cartuner.pwn - 1.1
![](http://solidfiles.com/info_imgs/3hmL.jpg)
cartuner.amx - 1.1
![](http://solidfiles.com/info_imgs/lbOd.jpg)
Screenshots
![](/imageshack/img338/3440/72120112.jpg)
![](/imageshack/img148/6826/47042484.jpg)
![](/imageshack/img21/2491/19482714.jpg)
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.)
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;
}
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
PlayerPlaySound(playerid,1133,x,y,z); // Plays the car mod sound.
a_mike.inc
![](http://solidfiles.com/info_imgs/Fpqr.jpg)
cartuner.pwn - 1.0
![](http://solidfiles.com/info_imgs/LrEW.jpg)
cartuner.amx - 1.0
![](http://solidfiles.com/info_imgs/eqgm.jpg)
cartuner.pwn - 1.1
![](http://solidfiles.com/info_imgs/3hmL.jpg)
cartuner.amx - 1.1
![](http://solidfiles.com/info_imgs/lbOd.jpg)
Screenshots
![](/imageshack/img338/3440/72120112.jpg)
![](/imageshack/img148/6826/47042484.jpg)
![](/imageshack/img21/2491/19482714.jpg)
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.)