20.09.2011, 17:47
(
Последний раз редактировалось [WSF]ThA_Devil; 10.03.2012 в 19:41.
Причина: Added 2.3
)
Hey guys... i got this idea about this when 0.3d got released... when callback OnPlayerTakeDamage came up i was able to do this... currently this is UNTESTED code but according to my maths and my knowledge of sa-mp this should work fine...
All red texts are outdated!
100/1 = 100 right?
so what it does is
SetPlayerHealth(playerid,health-100);
well when value is 2
100/2 = 50
SetPlayerHealth(playerid,health-50);
thats how it works
How it works since Release 2?
Well simply added enums and varriables, where weapon id was invalid its added as invalid...
now it browses trough varriable weapon damage and adds it to player...
add in filterscripts line "rbd" and you are done
ofc without ""
R2.3_02 (Mistakes Edit / Clean Script) http://pastebin.com/CbAmjT9h
R2.3 (Mistakes Edit / Outdated)http://pastebin.com/kHBeqw9A
R2.2 (Mistakes edit / Outdated) http://pastebin.com/Gavy5rvZ
R2.1 (Mistakes edit / Outdated) http://pastebin.com/y0MgFdUh
R2 (Script Rewrite / Outdated) http://pastebin.com/U15qYWBZ
R1 (Outdated) http://pastebin.com/G287T9ng
Mirrors? Only R2.3.1! (without 1 pragma tabsize warning what has R2.3)
Zip File : http://www.speedyshare.com/files/304...lletdamage.zip
Rar File : http://www.speedyshare.com/files/304...lletdamage.rar
EDIT 1: Spraycan damage updated.
EDIT 2: Release 2 Added (Outdated)
EDIT 2: Release 2.1 Added (Outdated)
EDIT 2: Release 2.2 Added (Outdated)
EDIT 2: Release 2.3 Added (Up to date (Re-Scripted))
Info
Basicly what it does is making killing easier... good for deathmach servers and stuff... sniper rifles and country rifles has instant kill so its good for quickscoping (also knowing that its almost imposible)All red texts are outdated!
How it works?
Well i am going to tell you what i thinked by lowest value, biggest damage100/1 = 100 right?
so what it does is
SetPlayerHealth(playerid,health-100);
well when value is 2
100/2 = 50
SetPlayerHealth(playerid,health-50);
thats how it works
How it works since Release 2?
Well simply added enums and varriables, where weapon id was invalid its added as invalid...
now it browses trough varriable weapon damage and adds it to player...
How to add it?
Just open server.cfgadd in filterscripts line "rbd" and you are done
ofc without ""
Where to get it?
Releases:R2.3_02 (Mistakes Edit / Clean Script) http://pastebin.com/CbAmjT9h
R2.3 (Mistakes Edit / Outdated)http://pastebin.com/kHBeqw9A
R2.2 (Mistakes edit / Outdated) http://pastebin.com/Gavy5rvZ
R2.1 (Mistakes edit / Outdated) http://pastebin.com/y0MgFdUh
R2 (Script Rewrite / Outdated) http://pastebin.com/U15qYWBZ
R1 (Outdated) http://pastebin.com/G287T9ng
Mirrors? Only R2.3.1! (without 1 pragma tabsize warning what has R2.3)
Zip File : http://www.speedyshare.com/files/304...lletdamage.zip
Rar File : http://www.speedyshare.com/files/304...lletdamage.rar
EDIT 1: Spraycan damage updated.
EDIT 2: Release 2 Added (Outdated)
EDIT 2: Release 2.1 Added (Outdated)
EDIT 2: Release 2.2 Added (Outdated)
EDIT 2: Release 2.3 Added (Up to date (Re-Scripted))