Help
hey, i have some questions.
i read some tutorials, but i don't understand what this does? public plugin_init[b]()]/b] the () in bold. what does it do? and how important is it? and i saw in some plugins, they have == why two? :D and then what does this mean? { and how important is it? thanks |
Re: questions
I never saw the bold ()
The == are to compare stuff. PHP Code:
|
Re: questions
ok, thanks. and is there like a page where i can see how to give ammo? this dosen't work (for a deagle)
Code:
cs_set_user_bpammo( id, CSW_DEAGLE, 200);Code:
#include <amxmodx> |
Re: Help
PHP Code:
|
Re: Help
ok. but how come this still dosen't work?
set_user_bpammo(id, CSW_DEAGLE, 200); Error: Undefined symbol "set_user_bpammo" on line 21 |
Re: Help
Add
- #include <cstrike> - Change set_user_bpammo to cs_set_user_bpammo - compile #Drekes +1 |
Re: Help
thanks, and another last question (i hope)
i searched for spawn in the tutorials, and found a tutorial on new rounds, spawn and stuff. and i wanna know, how can i give a weapon/item to a player upon spawn? Code:
#include <amxmodx> |
Re: Help
PHP Code:
|
Re: Help
Quote:
|
Re: Help
thanks, and what is wrong with this command
Code:
give_item(id, "weapon_he")Code:
/* Plugin generated by AMXX-Studio */ |
| All times are GMT -4. The time now is 00:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.