07.03.2013, 01:25
queria saber se й possivel em vez de acumular ali onde fica a score, acumular quantos matou ou level, qualquer coisa, tipo, substituir por outra coisa ? agradeзo desde jб o/
//OnPlayerSpawn:
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,VARIAVELMATOU);
// Em OnPlayerDeath:
ResetPlayerMoney(killerid);
GivePlayerMoney(killerid,VARIAVELMATOU+1);
//Topo:
new Matou[MAX_PLAYERS];
//OnPlayerConnect:
Matou[playerid] = 0;
//OnPlayerSpawn:
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,Matou[playerid]);
//OnPlayerDeath:
Matou[killerid] ++;
ResetPlayerMoney(killerid);
GivePlayerMoney(killerid,Matou[killerid]);
//topo Dinheiro[MAX_PLAYERS]; //OnPlayerSpawn: ResetPlayerMoney(playerid); GivePlayerMoney(playerid,Dinheiro[playerid]);
ResetPlayerMoney(playerid);