Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <cstrike>
- #define PLUGIN "Plugin"
- #define VERSION "1.0"
- #define AUTHOR "SINTAX"
- public plugin_init()
- {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_clcmd("say /kupi","kupi")
- }
- public kupi(id)
- {
- new cena = 3000
- new novac = cs_get_user_money(id)
- if(novac <= cena)
- {
- client_print(id,print_chat,"Imate manje,ili jednako novca nego sto je cena...")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement