18.12.2015, 17:42
the callback:
and the code:
Hope i helped, Pm me if you'd like to know anything or any help.
Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
and the code:
Код:
if(strcmp(cmdtext, "/kickme", true) == 0) { // Kicks the player who executed this command Kick(playerid); return 1; } return 0; }
Hope i helped, Pm me if you'd like to know anything or any help.