Raised This Month: $ Target: $400
 0% 

Solved Variable Value [Urgent]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
polimpo4
Member
Join Date: Jan 2017
Old 04-16-2018 , 02:22   Re: Variable Value [Urgent]
Reply With Quote #1

Quote:
Originally Posted by fysiks View Post
Strings are arrays of characters. Use ClanTag[] = "[PMN]" and then you use %s for strings in formatting functions like client_print().
I Got This Error

HTML Code:
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\contas.sma(93) : error 017: undefined symbol "ClanTag"
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\contas.sma(93 -- 94) : warning 215: expression has no effect
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\contas.sma(94) : error 017: undefined symbol "ClanTag"
PHP Code:
if(get_cvar_num("amx_mg_level")==2)
        {
            new 
a=random_num(1,99)
            new 
b=random_num(1,10)
            
solution=a*b
line 93            ClanTag
[] = "[PMN]"
line 94            client_print(0,print_chat,"%s Solve:   %ix%i"ClanTag[],a,b)
        } 
polimpo4 is offline
Reply



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 04:43.


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