06.01.2008, 16:08
Hi,
First of all, sorry for my bad English. (it really sucks )
Anyway,
today i tried to add some rc-vehicles in my server, the only problem was, you can't get in using the 'enter'-button.
And when you're inside it (i used PutPlayerInVehicle), you can't get out of it till you die.
So i made a little filterscript that allows you to enter and exit a rc-vehicle.
This fs includes 2 command:
- /rc
This will open a menu, there you can choose 1 of the 6 diffrent rc-vehicles.
When you choose one, the rc-car will get created and you will be put inside the vehicle.
To get out of the rc-vehicle, you can press the 'enter'-button.
The car will get destroyed immediately.
- /exitrc (if pressing the enter-buton doesn't work)
You will get removed from the vehicle and the rc-car will get destroyed immediately
You can also use the rc-vehicles inside Interiors!
Attention:
This filterscript uses 6 diffrent vehicletypes.
If your gamemode already use i.e. 67 vehicle-typs.
You can use max. 3 extra types.
So i made some configuration:
You can disable rc-types by changing the '1' to a '0' in this code:
If you change a type to '0', this option will be disabled in the menu (using /rc)
================================================== ====================
Update 2.0:
- You are now able to shoot with the tank (Tiger) Credits to Lethal ofcourse!
- You are now able to change the settings (as admin) ingame.
- Settings can now get saved into a file called 'RCsettings' so when you restart this filterscript, old settings will get restored
- You can (dis)allow people to shoot with the tank
- To prevent all players on your server will spawn a rc-car and you may exeed the 700-vehicles-limit.
So now if somebody spawns a rc-car, the server will count.
You (as admin) can set a limit. If this limit is reached, players won't be able to spawn more rc-cars.
Commands added:
/rcsettings
/rccredits
/rchelp
- You can now change settings ingame (no restart needed!!) by typic /rcsettings
See Screenshots here below.
================================================== ===================
Download:
RC.pwn (MediaFire)
RC.amx (MediaFire)
pastebin (sort of) (f*ucked up indentation)
Credits:
- Lethal --> Shooting with tank function
- Yagu --> I got some ideas from his race-fs
- Dracoblue --> Dini-functions
Screenshots:
If you're gonna use this, please give credits
Please report bugs, tips or whatever.
Greetz,
Sandra
First of all, sorry for my bad English. (it really sucks )
Anyway,
today i tried to add some rc-vehicles in my server, the only problem was, you can't get in using the 'enter'-button.
And when you're inside it (i used PutPlayerInVehicle), you can't get out of it till you die.
So i made a little filterscript that allows you to enter and exit a rc-vehicle.
This fs includes 2 command:
- /rc
This will open a menu, there you can choose 1 of the 6 diffrent rc-vehicles.
When you choose one, the rc-car will get created and you will be put inside the vehicle.
To get out of the rc-vehicle, you can press the 'enter'-button.
The car will get destroyed immediately.
- /exitrc (if pressing the enter-buton doesn't work)
You will get removed from the vehicle and the rc-car will get destroyed immediately
You can also use the rc-vehicles inside Interiors!
Attention:
This filterscript uses 6 diffrent vehicletypes.
If your gamemode already use i.e. 67 vehicle-typs.
You can use max. 3 extra types.
So i made some configuration:
You can disable rc-types by changing the '1' to a '0' in this code:
Код:
//line 8-13 new AllowBandit = 1; new AllowCam = 1; new AllowTiger = 1; new AllowBarron = 1; new AllowGoblin = 1; new AllowRaider = 1;
================================================== ====================
Update 2.0:
- You are now able to shoot with the tank (Tiger) Credits to Lethal ofcourse!
- You are now able to change the settings (as admin) ingame.
- Settings can now get saved into a file called 'RCsettings' so when you restart this filterscript, old settings will get restored
- You can (dis)allow people to shoot with the tank
- To prevent all players on your server will spawn a rc-car and you may exeed the 700-vehicles-limit.
So now if somebody spawns a rc-car, the server will count.
You (as admin) can set a limit. If this limit is reached, players won't be able to spawn more rc-cars.
Commands added:
/rcsettings
/rccredits
/rchelp
- You can now change settings ingame (no restart needed!!) by typic /rcsettings
See Screenshots here below.
================================================== ===================
Download:
RC.pwn (MediaFire)
RC.amx (MediaFire)
pastebin (sort of) (f*ucked up indentation)
Credits:
- Lethal --> Shooting with tank function
- Yagu --> I got some ideas from his race-fs
- Dracoblue --> Dini-functions
Screenshots:
If you're gonna use this, please give credits
Please report bugs, tips or whatever.
Greetz,
Sandra