07.03.2013, 20:28
em zcmd:
pawn Код:
// Em zcmd
CMD:comandoid( p, pr[], PlayerID, cmdtext[ 30 ] )
{
if( sscanf( pr, "us[25]", PlayerID, cmdtext ) ) return SendClientMessage( p, -1, #Use /comandoid [ID] );
return OnPlayerCommandReceived( PlayerID, cmdtext ), true;
}
//Em YCMD
YCMD:fcomando( p, pr[], h )
{
new
cmdtext[ 31 ],
PlayerID
;
sscanf( pr, "us[25]", PlayerID, cmdtext );
return OnPlayerCommandReceived( PlayerID, cmdtext ), true;
}