[AJUDA] Comando Ver dinheiro.
#5

pawn Код:
if(strcmp(cmd, "/vergrana", true) == 0) {
new tmp[256];
new plid;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_GREEN, "/vergrana [id]");
return 1;
}
plid = strval(tmp);
if(IsPlayerConnected(plid)){
new pname[MAX_PLAYER_NAME];
GetPlayerName(plid, pname, MAX_PLAYER_NAME);
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
new string222[256];
format(string222, sizeof(string222), "{0099FF}(~){CCCCFF} Vocк esta vendo a grana de: [%s: [ID: %d]]!", pname,plid);
SendClientMessage(playerid, 0x00FF00AA, string222);
format(string, sizeof(string), "» Saldo de Grana: [%d]", GetPlayerMoney(plid));
SendClientMessage(playerid, 0x00FF00AA, string);
return 1;
}else{
SendClientMessage(playerid, Vermelho, "{0099FF}(~){CCCCFF} ID invбlido");
return 1;
}
}
Reply


Messages In This Thread
[AJUDA] Comando Ver dinheiro. - by Baigou - 15.11.2011, 19:30
Re: [AJUDA] Comando Ver dinheiro. - by Dolby - 15.11.2011, 19:34
Re: [AJUDA] Comando Ver dinheiro. - by Baigou - 15.11.2011, 20:05
Re: [AJUDA] Comando Ver dinheiro. - by Dolby - 15.11.2011, 20:10
Re: [AJUDA] Comando Ver dinheiro. - by dPlaYer_ - 15.11.2011, 20:35
Re: [AJUDA] Comando Ver dinheiro. - by Baigou - 15.11.2011, 21:29
Re: [AJUDA] Comando Ver dinheiro. - by [NWD]Jim._.Carrey - 15.11.2011, 21:52

Forum Jump:


Users browsing this thread: 2 Guest(s)