SA-MP Forums Archive
protection helmet !! - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: protection helmet !! (/showthread.php?tid=596483)



protection helmet !! - aysam7 - 18.12.2015

Hello brothers ,
I need to add protection helmet in briefcase at my COD server to avoid headshot

and thx guys !!


Re: protection helmet !! - aysam7 - 18.12.2015

:/ any help ?


Re: protection helmet !! - ikey07 - 18.12.2015

Some tips.

OnPlayerTakeDamage

if(player has a helmet)
{
SetPlayerHealth( health + lost HP )

}


Re: protection helmet !! - aysam7 - 19.12.2015

ok , ty , but If I want to add it in briefcase , how ? I need it's id


Re: protection helmet !! - FreAkeD - 19.12.2015

https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

https://sampwiki.blast.hk/wiki/Pickup_IDs

1210 - Briefcase


Re: protection helmet !! - aysam7 - 19.12.2015

halmet id , not briefcase id ....


Re: protection helmet !! - Younes44 - 19.12.2015

http://dev.prineside.com/gtasa_samp_.../tag/35-helmet


Re: protection helmet !! - aysam7 - 19.12.2015

thx younes !!

he helped me via PM !!
any admin lock the topic please ?