Raised This Month: $ Target: $400
 0% 

Tag mismatch, problem with variable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 08-18-2009 , 07:59   Tag mismatch, problem with variable
Reply With Quote #1

PHP Code:
new const g_color[][] = { {0,40,40},{190,255,120} }; 
PHP Code:
new random_color random(sizeof(g_color))
fm_set_kvd(ent"rendercolor"random_color"env_fog"
PHP Code:
stock fm_set_kvd(entity, const key[], const value[], const className[] = "") {
    if (
className[0]) 
        
set_kvd(0KV_ClassNameclassName)
    else 
    {
        new class[
32]
        
pev(entitypev_classname, class, sizeof class - 1)
        
set_kvd(0KV_ClassName, class)
    }

    
set_kvd(0KV_KeyNamekey)
    
set_kvd(0KV_Valuevalue)
    
set_kvd(0KV_fHandled0)

    return 
dllfunc(DLLFunc_KeyValueentity0)

Tag mismatch 3, on this line :
PHP Code:
fm_set_kvd(ent"rendercolor"random_color"env_fog"
__________________
xbatista is offline
Send a message via Skype™ to xbatista
 


Thread Tools
Display Modes

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 15:13.


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