Not to be a pest. But would this code function properly?
Code:
public gaben(id) {
new arg1[33], arg2[33];
read_argv(1, arg1, 32);
read_argv(2, arg2, 32);
new player = cmd_target(id, arg1, 0);
if(!player) return PLUGIN_HANDLED;
new cash2 = str_to_num(arg2);
if(cash2) {
Cash[player] += cash2;
Cash[id] -= cash2;
cash2 = clamp(cash2,1,Cash[id])
}
return PLUGIN_HANDLED;
}
I just want to make sure. Since it's not specifically for CS.
__________________