i think it would be done somewhat like this..
Code:
public func(id) {
new call = callfunc_begin("getFire", "plugin.core.amxx")
if(call > 0) {
callfunc_push_int(id)
new ret = callfunc_end() //ret should now hold the return value :o
}
}
Code:
public getFire(id) {
// There's debug shit here which i wont show
new szUsername[32]
get_user_name(id, szUsername, 31)
return get_pdata_int(id, 460)
}
__________________