Raised This Month: $ Target: $400
 0% 

need help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-29-2012 , 19:14   Re: need help
Reply With Quote #2

One thing that I see wrong is this: cs_set_user_model(id,"resetModel")

Also, you don't need to return anything from resetModel() and you shouldn't check if !is_user_connected() since you are actually looking for the case where the user IS connected.

PHP Code:
public resetModel(id)

    if( 
is_user_connected(id) )
    {
        
cs_set_user_model(idoldmodel[id])
    }

oldmodel[] is never assigned anywhere.
__________________
fysiks 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 07:54.


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