Hello my dear scripters,
I would ask some help regarding an addtion i wan't for a plugin.
I got no basic knowledge of amxx coding yet i manage once and a while yet not this time.
To topic:
I wish to make the money be set to 0 when the player drops there gun.This comes from a rock the vote plugin (deagsmapmanage230b.sma) and i wanted to add this.
I took a look in a plugin amx_bankrupt since that uses cs_set_user_money()
I tried to use that in the deagsmapmanagment but ended up with errors and loose idents so yeah i wanna get teached.
What do i need to perfectly implement the cs_set_user_money() ??
Anyone that helps me out gets the usual karma

.
Thank you
Here's the code wich makes the player stop and drop there guns. i would put the command infront of the drop command so they can't buy after the drop.
Code:
public stopperson(){
new players[32], inum, i
get_players(players,inum,"c")
if(isspeedset>=0&&isspeedset<2){
thespeed=get_cvar_float("sv_maxspeed")
isspeedset++
set_cvar_float("sv_maxspeed", 0.0)
}
for(i = 0 ;i < inum; ++i)
client_cmd(players[i],"drop")
return PLUGIN_HANDLED
}
__________________