Raised This Month: $ Target: $400
 0% 

command for purchase only adm


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 06-19-2012 , 11:36   Re: command for purchase only adm
Reply With Quote #2

Untested,But worked for me many time,Tell me if something is wrong,I just showed you what to do,It is not properly coded.Next time ask this in suggestion(i guess)

PHP Code:
register_clcmd("say /Check""cmd_Check"// register a clientcommand,i.e /Check or anyother

public cmd_Check(id)
{
      if(
is_user_admin(id// Only admin can use this;
{
      
//Put your code here,Everytime you type /Check in game,It will execute this code only for admins.
      // use cstrike and fun module for items and health and other stuff 



}

__________________
Working On:
  1. Gameplay 1 - 0% [PAUSED]

Last edited by Waleed; 06-19-2012 at 11:38. Reason: left some braces
Waleed is offline
Send a message via Skype™ to Waleed
 



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 06:06.


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