Quote:
Originally Posted by leonardo1434
pawn Код:
SetPVarInt(playerid,"voto1",0); SetPVarInt(playerid,"voto2",0);
SetPVarInt(playerid,"voto1",GetPVarInt(playerid,"voto1") + 1); SetPVarInt(playerid,"voto2",GetPVarInt(playerid,"voto2") + 1);
if(GetPVarInt(playerid,"voto1") > GetPVarInt(playerid,"voto2")){ //func } if(GetPVarInt(playerid,"voto1") < GetPVarInt(playerid,"voto2")){ //func }
//podendo usar um else.
Pelo o que eu entendi й isto? outro mйtodo de contagem..
|
Cara, Se so complico tudo, E essa maneira й a mesma da que eu fiz. So que mais complicado pqp --'