Hello!
How could i put a global in a stock or is it even possible.
I have searched for some time and haven't found information on this
For example:
PHP Code:
#include <amxmodx>
public plugin_init()
register_clcmd("say /trigger","SetTargetInfo")
public GetTarget(id){
get_client_info(id, 20)
}
stock get_client_info(id, somevar[]){
if(somevar[id] == 20){
client_print(0, print_chat, "Debug1")
}
}
When in this situation the "somevar" is suppose to be global