Hello everybody,
I've got a little problem here, I want to give the player with userid X 20 Points using the command :
Quote:
PHP Code:
"kbm_give_points_easy %i", usrid[id]
|
.
The HUD Message is displaying, but the player doesn't get any Points.
Code of kbm_give_points_easy :
Quote:
PHP Code:
new Arg1[24]
read_argv(1, Arg1, 23)
new player = cmd_target(id, Arg1, 6)
iCoins[player] += 20
set_dhudmessage(0, 255, 0, -1.0, 0.69, 0, 6.0, 6.0)
show_dhudmessage(player, "You got 20 Points.")
|
Anyone knows what I'm doing wrong?
__________________