16.02.2010, 09:40
Yeah you can if they are both in the gamemode so:
public OnRconCommand(cmd[])
and
public OnPlayerCommandText(playerid, cmdtext[])
Then
public OnRconCommand(cmd[])
Code:
dcmd(command,7,cmd);
public OnPlayerCommandText(playerid, cmdtext[])
Code:
dcmd(command,7,cmd);
Code:
dcmd_kill(params[]) { //Code }