Quote:
Originally Posted by EFFx
First of all
1. Your stock should not have a 'stock' prefix.
2. Why are you returning the ammount?
You don't need a stock. Just:
PHP Code:
public fw_HamSpawnPost(id) { if(is_user_alive(id) && get_user_flags(id) & ADMIN_FLAG) cs_set_user_money(id, cs_get_user_money(id) + 2000) }
|
1. It's a stock not a private function Sherlock.
2. It's just my choice.
My code is just fine. Also he never mentioned that user needs to be alive.
__________________