Quote:
Originally Posted by Ex1ne
I think i know what you mean, i made this a while back. It could give an idea of how to do it.
PHP Code:
#include <amxmisc> #include <hamsandwich> #include <fun> #include <cstrike> new bool:GiftUsed[33] public plugin_init() { register_plugin("Welcome Gift", "0.3", "Ex1ne") RegisterHam(Ham_Spawn, "player", "Spawn", 1) } public Spawn(id) { if(GiftUsed[id] == true) { return PLUGIN_HANDLED } give_item(id, "weapon_deagle") cs_set_user_bpammo(id, CSW_DEAGLE, 35) GiftUsed[id] = true return PLUGIN_HANDLED }
|
ex1ne thanx man i got the idea of your to use if statement and its what i been looking for great thanx and sorry to reply late as i was sort busy these days thanx once again have a great year happy new year.