14.07.2014, 13:37
If More Than 1 player joins my server then instead of only coming this message Server Unkown Command Also Comes...
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(success == 0) { new string[1029]; strcat(string, "Sorry! The Command You Typed Does Not Exits!!\n\n"); strcat(string, "To see The Commands Type /Cmds\n\n"); strcat(string, "For More Help Type /Help Or \n\n"); strcat(string, "Tell Your Problem To Our Server Admins\n\n"); strcat(string, "Click The OK Button\n"); ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "RG-Info: Wrong Command......" , string," Ok "); SendClientMessage(playerid, red, "RG-Info: Wrong Command.. Type /cmds To See Commands"); return 0; } return 1; }