View Single Post
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 12-15-2010 , 08:15   Re: Get variable value from function
Reply With Quote #3

Quote:
Originally Posted by Popoklopsi View Post
PHP Code:
new String:rec2[1024];

public 
OnSocketReceive(Handle:socketString:rec[], const dataSizeany:arg)
{
    
Format(rec2sizeof(rec2), rec);
}  

public 
Action:Player_Spawn(Handle:eventconstString:name[], bool:dontBroadcast)

    
PrintToServer(rec2);

Oh sorry...
Thanks! It works!

Last edited by Touch; 12-15-2010 at 08:19.
Touch is offline
Send a message via Skype™ to Touch