Raised This Month: $ Target: $400
 0% 

Invisibility effects helpS~!~


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dstopgunner
Senior Member
Join Date: Oct 2007
Old 05-22-2009 , 09:17   Invisibility effects helpS~!~
Reply With Quote #1

I want people to turn invisble gradually, you can see the effects .
Dont care the shadow atm.

PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fakemeta_util>
#define PLUGIN "Invisible"
#define VERSION "1.0"
#define AUTHOR "ME"

public plugin_init() 
{
 
register_plugin(PLUGINVERSIONAUTHOR)
}
 
public 
turn_invisible(id)
{
 if(
get_user_rendering(id) > 1)
 {
  
set_user_rendering(idget_user_rendering(id) - 5)
  
set_task(0.05"turn_invisible"id+100)
 }
 if(
get_user_rendering(id) < 1)
 {
  
remove_task(id+100)
 }

I know there is no get_user_rendering , can someone come up with a stock or find another way? +Karma for help ~~
dstopgunner is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:33.


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