AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Invulnerability? (https://forums.alliedmods.net/showthread.php?t=12790)

BioHazardousWaste 04-24-2005 22:16

Invulnerability?
 
Hey guys, this is probably stupid... But I need to make someone invulnerable (tyring to make dodge). I used set_user_hitzones but that doesn't work for knife or nade. Does someone know how I can make a player take no damage from any kind of attack? (falling is ok to take damage from). Thanx

v3x 04-24-2005 22:28

Code:
set_user_godmode( index, 1 )
:wink:
Fun module

BioHazardousWaste 04-24-2005 22:36

but then won't that give them no clip and such? or is it just invulnerability?

v3x 04-24-2005 22:37

It's godmode, lol. You can't die.. :)

BioHazardousWaste 04-24-2005 23:47

lol thanx again v3x, there seems to be a sligt problem, but it's probly my code.. i'll debug tomorrow


All times are GMT -4. The time now is 16:45.

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