AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with Health plugin (https://forums.alliedmods.net/showthread.php?t=9301)

longbow 01-13-2005 16:26

Help with Health plugin
 
I would first off say I have bo clue about this so That is why im asking yall

My need & question: is it possible to create places on a map where if a person gets within a certain area he or she is given a big amount of health such as 1000 hp (This would be for the game TS) if yall can help me with this
i would like some pointers or if yall could show me i would like it

BlueRaja 01-13-2005 20:07

http://www.amxmodx.org/funcwiki.php?go=func&id=162
http://www.amxmodx.org/funcwiki.php?go=func&id=2
http://www.amxmodx.org/funcwiki.php?go=func&id=117

Peli 01-13-2005 21:34

BlueRaja has helped you alot , what you'll need to do is use the Get_user_origin() native and find where the player is ( could be in a specific area ) and then use the Get_user_health() native to add health using the Set_user_health() native.


All times are GMT -4. The time now is 19:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.