08.04.2013, 15:40
pawn Код:
CMD:senhabanco(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
new Name[40], String[128], targetid;
GetPlayerName(playerid, Name, sizeof(Name));
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, -1, "{FF0000}Use /senhabanco [ID]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, -1, "{FF0000}Jogador Offline!");
format(String, sizeof(String), "{FFFF00}[INFO] {40E000}A senha do banco de %s й \"%s\"", targetid, APlayerData[playerid][BankPassword]);
SendClientMessage(playerid, -1, String);
}
else
SendClientMessage(playerid, -1, "{FF0000}Vocк nгo tem permissгo para isso!");
return 1;
}
Ajuda ??