Quote:
Originally Posted by antonio112
pawn Код:
YCMD:help(playerid, help, params) { if(strcmp(params, "commands", false) == 0) { SendClientMessage(playerid, -1, "Help commands here."); return 1; } else if(strcmp(params, "admin", false) == 0) { SendClientMessage(playerid, -1, "Admin help here."); return 1; } else { SendClientMessage(playerid, -1, "Usage: /help [parameter] (commands, admin)"); return 1; }
|
Now can you please explain what the STRCMP does, like what does the false and ==0 mean?