22.06.2012, 06:45
Hi,
Small question, how do I return a formatted message and PlayerPlaySound for OnPlayerCommandText?
Thanks
Code,
new string[150];
format(string, sizeof(string), "Error: The command %s is unknown", cmdtext);
SendClientMessage(playerid, -1, string);
xPlayerPlaySound( playerid, 31202);
Small question, how do I return a formatted message and PlayerPlaySound for OnPlayerCommandText?
Thanks
Code,
new string[150];
format(string, sizeof(string), "Error: The command %s is unknown", cmdtext);
SendClientMessage(playerid, -1, string);
xPlayerPlaySound( playerid, 31202);