Raised This Month: $ Target: $400
 0% 

[Help]plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rebeccs
Junior Member
Join Date: May 2015
Old 05-31-2015 , 03:31   [Help]plugin
Reply With Quote #1

Mr. hello
I found a stealth plug-in on the website, I very much like to use it, but now there is a problem, how can we allow this plugin for the elimination of all weapons and equipment in use, when recovery appeared in the recovery of the weapons? Thank you, sir..

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>
#include <dodfun>
#include <dodx>
#include <fakemeta>

public plugin_init(){
register_plugin("invisibility","2.1","default")
register_concmd("amx_invis","admin_invis",ADMIN_LEVEL_M,"amx_invis 1|0")
}

public 
admin_invis(id,level,cid){
if (!
cmd_access(id,level,cid,2)) return PLUGIN_HANDLED
new arg[2]
read_argv(1,arg,1)
if (
arg[0]=='1'){
set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,2)
console_print(id,"You are invisible now!")
}
else
{
set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,255)
console_print(id,"You are uninvisible now!")
}
return 
PLUGIN_HANDLED 

rebeccs is offline
 


Thread Tools
Display Modes

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 20:05.


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