13.05.2016, 18:04
hola estoy haciendo un sistema de scores pero no entiendo porque cuando no tiene clan le suma el punto igual
Quote:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); ActualizarScore(killerid); new clanid=Info[killerid][cMiembro]; if(Info[killerid][cMiembro] == clanid) { Clanes[killerid][score] ++; Info[killerid][DMscore] ++; InfoMSG(killerid, "Exito ~b~1+ ~w~Dm Score."); InfoMSG(killerid, " ~n~~g~1+~w~ Clan Score."); }else{ Info[killerid][DMscore] ++; InfoMSG(killerid, "Exito ~b~1+ ~w~Dm Score."); } return 1; } |