0 Members and 1 Guest are viewing this topic.
Ok so uh how do you create commands in pawn using /c !commandhere and not just !commandhere.
public OnPlayerCommandText(playerid, cmdtext[]){ new cmd[256]; new idx; cmd = strtok(cmdtext, idx); if (strcmp(cmd, "!commandhere", true) == 0) { // Do stuff. return 1; } return 0;}