pawn Код:
if( !strcmp( cmdtext, "/givebeer", true, 9 ) )
{
new id = strval( cmdtext[ 10 ] );
if( !cmdtext[ 10 ] ) return SendClientMessage( playerid, 0xAAAAAA, "Usage: /givebeer [ID]! " ) ;
if( !IsPlayerConnected( id ) || id == INVALID_PLAYER_ID ) return SendClientMessage( playerid, 0xAAAAAA, "Invalid ID! " );
return SetPlayerSpecialAction( id, SPECIAL_ACTION_DRINK_BEER );
}