Quote:
Originally Posted by funky1234
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
{ //Why is this here? - Remove it. if(strcmp(cmdtext,"/info",true)==0) { ShowPlayerDialog(playerid, Gameinfodialogue, DIALOG_STYLE_MSGBOX, "Information about the gamemode", "My text", "Next", "Close"); return 1; } } //Why is this here? - Remove it.
return 0;
}
It may be worth looking into dcmd or other methods by the way.
|
The extra { and } don't matter tbh