Quote:
Originally Posted by iCasTiel
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; }
|
error 017: undefined symbol "CommandText"
O /fakekill deu certinho, mais o /fakecmd ta dando erro D: