AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Invisibility and parachute problem (https://forums.alliedmods.net/showthread.php?t=226565)

wicho 09-20-2013 01:55

Invisibility and parachute problem
 
Hi everybody well i use a plugin of zombie plague when a zombie recieve a porcent of damage he turn invisible for some time but my problem is when a zombie have invisibility and use the parachute the zombie turn visible again i dont want that i want when zombie use parachute he still invisible, how i can fix this? thx in advance...

mottzi 09-20-2013 07:10

Re: Invisibility and parachute problem
 
Use dynamic natives. Set up a native in your zombie-plugin like get_user_invisible(). In parachute plugin you use the native to see wheter the player is invisible. If yes, just dont create any parachute-entity and do not set the rendering of the player.

wicho 09-20-2013 23:38

Re: Invisibility and parachute problem
 
another way?

Clauu 09-21-2013 03:22

Re: Invisibility and parachute problem
 
Use this parachute plugin http://forums.alliedmods.net/showthr...ight=parachute

mottzi 09-21-2013 07:16

Re: Invisibility and parachute problem
 
Quote:

Originally Posted by wicho (Post 2038258)
another way?

whats wrong with that way?

wicho 09-21-2013 10:12

Re: Invisibility and parachute problem
 
I just want to know what ways exist to make this..


All times are GMT -4. The time now is 18:53.

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