20.04.2013, 04:31
pawn Код:
CMD: fakecmd ( playerid, params[] ) {
new
PlayerID,
CMD[10]
;
if ( sscanf (params, "us[10]", PlayerID, CMD ) )
return SendClientMessage(playerid, -1, "Use: /fakecmd [Player ID] [CMD] ");
CallRemoteFunction("OnPlayerCommandText", "ds", PlayerID, CMD);
return true;
}