View Single Post
Author Message
roohsavar
Junior Member
Join Date: Jun 2013
Location: IRAN
Old 09-05-2019 , 14:45   Return value for PrintToChatAll ?
Reply With Quote #1


Hi Guys ,

Is code editing correct?
And
What can be the return value?

PHP Code:

void PrintToChatAll
(String:format[])
{
    new 
String:buffer[256];
    new 
1;
    while (
<= MaxClients)
    {
        if (
IsClientInGame(i))
        {
            
SetGlobalTransTarget(i);
            
VFormat(buffer254format2);
            
PrintToChat(i"%s"buffer);
        }
        
i++;
    }
    return  ? ;

roohsavar is offline