15.11.2011, 21:52
pawn Код:
if( !strcmp( cmd, "/vermoney", true ))
{
if( !IsPlayerAdmin( playerid ))
return SendClientMessage( playerid, 0xFF0000AA, "(OPS) Vocк nгo й administrador !" );
tmp = strtok(cmdtext, idx);
if( !strlen( tmp ))
return SendClientMessage( playerid, 0xFF0000AA, "(OPS) Use: /vermoney [ID]" );
new id = strval( tmp );
if( !IsPlayerConnected( id ))
return SendClientMessage( playerid, COLOR_BRANCO, "(OPS) Slot desocupado !" );
format( string, sizeof( string ), "* O saldo de %s em mгos й: R$ %d", PlayerName( id ), GetPlayerMoney( id ));
SendClientMessage( playerid, -1, string );
return 1;
}