05.09.2013, 06:19
Thank you, i searched that function and i saw the level needed to read.
so I have /helpme command it has messagetotwice but i dont know how to add the playerplaysound
[/QUOTE]
so I have /helpme command it has messagetotwice but i dont know how to add the playerplaysound
Код:
CMD:helpme(playerid, params[]) { new str[128], Name1[MAX_PLAYER_NAME]; if(sscanf(params,"s[128]", str)) { SendClientMessage(playerid, red,"CORRECT USAGE: /helpme [text]"); return 1; } GetPlayerName(playerid, Name1, sizeof(Name1)); format(str, sizeof(str),"{B80000}**New help request** {00FFF0}from - %s[%i]:{FFFF00} %s",Name1,playerid,str); MessageToTwice(red, str); SendClientMessage(playerid, yellow,"Your help request has been sent to online administrators, please be patient."); return 1; }