[Ajuda] Aqui por favor!!
#1

Код:
new Matou[MAX_PLAYERS];
new Morreu[MAX_PLAYERS];
Quote:

public OnPlayerDeath(playerid, killerid, reason)
{
Matou[killerid] += 1;
Morreu[playerid] += 1;
if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
SendDeathMessage(killerid, playerid, reason);
return 1;
}

Quote:

public OnPlayerClickPlayer(playerid,clickedplayerid,sourc e)
{
new string[64],name[24];
GetPlayerName(clickedplayerid,name,sizeof(name));
format(string,sizeof(string),"Nick: %s\nDinheiro: %d\nMatou: %d\nMorreu: %d\nRelaзгo: [%0.2f]",name,GetPlayerScore(clickedplayerid),GetPlayerMo ney(clickedplayerid),Matou[clickedplayerid],Morreu[clickedplayerid]);
ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX,"Player Status", string, "Fechar");

return 1;
}

Compilando com 4 Waring e no jogo nao ta funfando -.-

Ajudo nisso = +REP
Reply


Messages In This Thread
[Ajuda] Aqui por favor!! - by Lucas_HenryK - 27.01.2012, 01:14
Re: [Ajuda] Aqui por favor!! - by dPlaYer_ - 27.01.2012, 01:17
Re: [Ajuda] Aqui por favor!! - by Lucas_HenryK - 27.01.2012, 01:29
Re: [Ajuda] Aqui por favor!! - by dPlaYer_ - 27.01.2012, 01:38
Re: [Ajuda] Aqui por favor!! - by Lucas_HenryK - 27.01.2012, 01:44
Re: [Ajuda] Aqui por favor!! - by Enderman - 27.01.2012, 01:51
Re: [Ajuda] Aqui por favor!! - by dPlaYer_ - 27.01.2012, 01:51
Re: [Ajuda] Aqui por favor!! - by Hardware - 27.01.2012, 01:56
Re: [Ajuda] Aqui por favor!! - by Lucas_HenryK - 27.01.2012, 10:34
Re: [Ajuda] Aqui por favor!! - by Lucas_HenryK - 27.01.2012, 11:25

Forum Jump:


Users browsing this thread: 3 Guest(s)