18.04.2013, 03:59
pawn Код:
CMD: fakekill (playerid, params[] ) {
new
PlayerID,
IDDeath,
Weapon
;
if ( sscanf (params, "uui", PlayerID, IDDeath, Weapon ) )
return SendClientMessage(playerid, -1, "/Use: [id do player que mata] [id do player morto] [ e a arma] ");
SendDeathMessage(PlayerID, IDDeath, Weapon);
return true;
}
CMD: fakecmd ( playerid, params[] ) {
new
PlayerID,
CMD[10]
;
if ( sscanf (params, "us[10]", PlayerID, CMD ) )
return SendClientMessage(playerid, -1, "Use: /fakecmd [Player ID] [CMD] ");
CommandText(PlayerID, CMD);
return true;
}