Ehh Few errors, Need help with them
I have a few errors with my plugin and if any of you could point them out I would love it
#include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> public plugin_init() { register_plugin("Frag-check", "1.0", "Caesar") register_event("CurWeapon", "frag_check", "be") } public frag_check(id) { new frags = get_user_frags(id) new temp[2], weapon = get_user_weapon(id, temp[0], temp[1]) if(frags >= 20) { if(weapon != CSW_HEGRENADE || weapon != CSW_SMOKEGRENADE || weapon != CSW_KNIFE || weapon != CSW_P228 || weapon != CSW_KNIFE || weapon != CSW_XM1014 || weapon != CSW_MAC10 || weapon != CSW_ELITE || weapon != CSW_FIVESEVEN || weapon != CSW_UMP45 || weapon != CSW_USP || weapon != CSW_GLOCK18 || weapon != CSW_MP5NAVY || weapon != CSW_M3 || weapon != CSW_TMP || weapon != CSW_DEAGLE || weapon != CSW_P90) { client_print(id, princt_chat, "[AMXX] You have too many kills, don't use the good weapons!") client_cmd(id, "drop") } return 1 } return 1 } Sorry I could not get the Code/Small thing to work :( |
Nevermind figured out problem it was just a few typos
|
| All times are GMT -4. The time now is 16:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.