|
|
#1 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Location: In my house.
Posts: 1,168
Reputation: 3
|
Damage Car System V2.5 Hi, Here I bring this simple system, basicly, you can damage cars without a driver with a gun. Usage: Extract the files to your 'pawno/include' folder, then in your script you put: #include <Damage>, and you are ready to use it. You can also change some configuration opening damage.inc and tweak it to your taste. You must include those callbacks, if you don't, you will get an error message. pawn Code:
You will have to add this under their respective callbacks: pawn Code:
Functions: Well, there is just one for now, if you need any other fuction that I can make just post in here. pawn Code:
It will return the vehicle id if he is shooting, 0 if not. pawn Code:
Bugs: » It doesn't work with the rifle, shotgun, and with some other constant reloading weapons. » You can damage cars trough walls. » If there are too many cars together, it may not work properly. Special thanks: niCe for the IsPlayerAimingAt. For the guys who made IsVehicleOccupied and GetClosestVehicle. And to g_aSlice for some helping ![]() Links: Solidfiles > Errors FIXED. < Version history:
Peace. Last edited by The_Moddler; 07/03/2011 at 06:15 PM. |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 1,487
Reputation: 63
|
Can you show some things?
|
|
|
|
|
|
#3 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Location: In my house.
Posts: 1,168
Reputation: 3
|
|
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 1,487
Reputation: 63
|
Busy myself, looked at the script, you need to post some credits :S. Also You could had at least showed us an example on how to use it or something.
|
|
|
|
|
|
#5 |
|
Banned
![]() Join Date: Oct 2009
Location: UK
Posts: 931
Reputation: 0
|
Omg, 1 milisecond timer when presing/holding fire key..
Errrm.. You should add credit for Code:
IsPlayerAimingAt(playerid, Float:x, Float:y, Float:z, Float:radius) No credits added for all functions include IsPlayerAimngAt. |
|
|
|
|
|
#6 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Location: In my house.
Posts: 1,168
Reputation: 3
|
Quote:
I only see a 794 milisecond timer.. Gonna add the credits, I forgot :S EDIT: OMG I am so tired that putted the wrong link, now it's okay, credits added also. BTW Gaglets, you suck. Last edited by The_Moddler; 01/11/2010 at 11:28 PM. |
|
|
|
|
|
|
#7 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Sep 2009
Location: Florida, USA
Posts: 726
Reputation: 74
|
Looks nice, i will use this, thanks!
|
|
|
|
|
|
#8 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 1,487
Reputation: 63
|
Quote:
|
|
|
|
|
|
|
#9 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2009
Location: I don't know
Posts: 1,696
Reputation: 8
|
Look's cool yet simple.
Goodjob! |
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Location: Sweden
Posts: 1,666
Reputation: 969
|
Couple problems (some can be fixed, some can't):
pawn Code:
pawn Code:
pawn Code:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FilterScript] [FS]Tires Damage System. | lolmaster | Filterscripts | 16 | 10/09/2011 05:39 AM |
| Damage? | Despare | Help Archive | 1 | 17/08/2010 05:12 AM |
| [FilterScript] [FS] Damage System | crone | Релизы/Releases | 5 | 10/05/2010 09:37 AM |