AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to make user not be able to be hit by bullet?... (https://forums.alliedmods.net/showthread.php?t=2785)

ThantiK 06-16-2004 19:52

How to make user not be able to be hit by bullet?...
 
How can I make a user basically not register any target hits? I dont want blood or any indication the user is there, or any way of blocking the user...almost like noclip, but for bullets only.

I'm making a messed up plugin for Team SurriX...the ninjas...for a fun server of theirs...

I'd like to catch them saying "ninja vanish!" and create a smoke cloud, then make them invis and not be able to be hit by bullets, etc...then 5 secs later they pop back up out of nowhere again.

While they are invis, weapons, etc wont be able to be used.

Burnzy 06-16-2004 19:56

haha, its amx_godmode whitch is sum of it.... also, if u dont no HOW to script, then u place it in the suggestions section.

SidLuke 06-16-2004 19:57

You can use "set_user_hitzones" native (fun module) to block hits

ThantiK 06-16-2004 21:07

Thanks SID, thats what I needed.

Peli 06-16-2004 23:14

For the invis effects you can use some of the code from the WC3 plugin. :)

Burnzy 06-16-2004 23:29

or amx_glow... like when its amx_glow 0 0 0 0
makes them invis

or try sumthing from inviswars

ThantiK 06-16-2004 23:32

I know how to make then invisible.

How can I disable their weapons...?

Peli 06-16-2004 23:33

Alright , I wonder how you're going to do the smoke effects? :)

Burnzy 06-16-2004 23:35

add the smoke grenade effect... why u disbaling weapons?

ThantiK 06-17-2004 00:55

I'm disabling weapons for the user whos using the 'ninja' thing...so they dont have 5 seconds of extremely unfair advantage.


All times are GMT -4. The time now is 14:50.

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