hi, i maked this code :
Code:
public makeant(id,level,cid){
new name[128]
get_user_name(id, name, 31)
client_print(id,print_chat,"Now your are an Ant")
set_hudmessage(23,243,00,0.07, 0.73, 0, 6.0, 5.0)
show_hudmessage(id,"%s has been transformed into a ant",name)
cs_set_user_model(id,antmodel)
set_user_armor(id,antarmor)
set_user_maxspeed(id,Float:antspeed)
set_user_gravity(id,Float:antgravity)
set_user_footsteps(id,antfootstep)
engclient_cmd(id,"weapon_knife")
return PLUGIN_HANDLED
}
A have some defines, etc but i want :
If can somebody modify my code and add posibility to use command for team (ex : amx_ant @T / @CT) and for all (ex : amx_ant @ALL) Please make it..