Raised This Month: $ Target: $400
 0% 

Help me!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nur56
Member
Join Date: Apr 2007
Old 08-11-2008 , 05:47   Help me!
Reply With Quote #1

So I have 3 cases, and I'm making a money check, see if he has the money to buy something, but I'm having an epic problem!(yes I did include cstrike)

PHP Code:
            new money cs_get_user_money(id) - 16000
            str_to_num
(money)
            if(
money 16000){
                
client_print(id,print_chat,"You Don't have enough money to buy godmode")
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            

Compile errors:

Code:
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Must be a constant expression; assumed zero on line 65
Warning: Loose indentation on line 67
Error: Array must be indexed (variable "money") on line 67
Warning: Loose indentation on line 73
Error: Argument type mismatch (argument 2) on line 81
Error: Must be a constant expression; assumed zero on line 90
Error: Array must be indexed (variable "money") on line 92
Warning: Tag mismatch on line 101
Error: Argument type mismatch (argument 2) on line 103
Error: Must be a constant expression; assumed zero on line 109
Error: Array must be indexed (variable "money") on line 112

8 Errors.
Could not locate output file E:\Steam\steamapps\chrissnafu\counter-strike\cstrike\addons\amxmodx\plugins\WMenu.amx (compile failed).
Halp me doctor Phill! +karma!
Nur56 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode