Is this the right for when admins talk with /b ?
#2

A string specifier in sscanf needs its size defined next to it:
PHP код:
if(sscanf(params"z[128]"Message)) 
What is this check for?:
PHP код:
if(strlen(Message) < || !IsPlayerConnectedEx(playerid)) 
Sscanf already deals with an empty Message parameter and checking whether or not the player who used the command is connected seems redundant to me. After all, it is the player who used the command. It's not like a command takes minutes to execute.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)