Raised This Month: $51 Target: $400
 12% 

giving directions to commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
undead52
Senior Member
Join Date: Dec 2016
Old 09-29-2017 , 12:17   giving directions to commands
Reply With Quote #1

impulse and nightvision works fine but other dont what is the problem ?

PHP Code:
#include <amxmodx>
#include <engine>

public plugin_init() {
   
register_plugin("Artoias","1","Kisayol")
   
register_impulse(100"ultimate")
   
register_clcmd("nightvision""changerace")
   
register_clcmd("buyammo1""shopmenu")
   
register_clcmd("buyammo2""shopmenu2")
   
register_clcmd("autobuy""shopmenu3")
   
register_clcmd("rebuy""shopmenu4")
   
register_clcmd("+voicerecord""trade")
}

public 
ultimate(id){
   
client_cmd(id,"ultimate")
   return 
PLUGIN_HANDLED;
}
public 
changerace(id){
   
client_cmd(id,"changerace")
   return 
PLUGIN_HANDLED;
}
public 
shopmenu(id){
   
client_cmd(id,"shopmenu")
   return 
PLUGIN_HANDLED;
}
public 
shopmenu2(id){
   
client_cmd(id,"shopmenu2")
   return 
PLUGIN_HANDLED;
}
public 
shopmenu3(id){
   
client_cmd(id,"shopmenu3")
   return 
PLUGIN_HANDLED;
}
public 
shopmenu4(id){
   
client_cmd(id,"shopmenu4")
   return 
PLUGIN_HANDLED;
}
public 
trade(id){
   
client_cmd(id,"trade")
   return 
PLUGIN_HANDLED;


Last edited by undead52; 09-29-2017 at 12:30.
undead52 is offline
Old 09-29-2017, 14:44
DjSoftero
This message has been deleted by DjSoftero. Reason: nvm
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 09-29-2017 , 16:27   Re: giving directions to commands
Reply With Quote #2

autobuy -> cl_autobuy & cl_setautobuy
rebuy -> cl_rebuy & cl_setrebuy
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Reply



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 00:50.


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