[Off] Alguma forma de fazer isso de outro modo ?
#1

entгo, a cada 60 de respeito upa um nivel, mais serб que tem que ser assim ? ou tem outro jeito ?

pawn Код:
if(WF[playerid][pRespect] <= 60)   {    WF[playerid][pLevel] = 1;               }
    if(WF[playerid][pRespect] <= 120)  {    WF[playerid][pLevel] = 2;               }
    if(WF[playerid][pRespect] <= 180)  {    WF[playerid][pLevel] = 3;               }
    if(WF[playerid][pRespect] <= 240)  {    WF[playerid][pLevel] = 4;               }
    if(WF[playerid][pRespect] <= 300)  {    WF[playerid][pLevel] = 5;               }
    if(WF[playerid][pRespect] <= 360)  {    WF[playerid][pLevel] = 6;               }
    if(WF[playerid][pRespect] <= 420)  {    WF[playerid][pLevel] = 7;               }
    if(WF[playerid][pRespect] <= 480)  {    WF[playerid][pLevel] = 8;               }
    if(WF[playerid][pRespect] <= 540)  {    WF[playerid][pLevel] = 9;               }
    if(WF[playerid][pRespect] <= 600)  {    WF[playerid][pLevel] = 10;              }
    if(WF[playerid][pRespect] <= 660)  {    WF[playerid][pLevel] = 11;              }
    if(WF[playerid][pRespect] <= 720)  {    WF[playerid][pLevel] = 12;              }
    if(WF[playerid][pRespect] <= 780)  {    WF[playerid][pLevel] = 13;              }
    if(WF[playerid][pRespect] <= 840)  {    WF[playerid][pLevel] = 14;              }
    if(WF[playerid][pRespect] <= 900)  {    WF[playerid][pLevel] = 15;              }
    if(WF[playerid][pRespect] <= 960)  {    WF[playerid][pLevel] = 16;              }
    if(WF[playerid][pRespect] <= 1020) {    WF[playerid][pLevel] = 17;              }
    if(WF[playerid][pRespect] <= 1000) {    WF[playerid][pLevel] = 18;              }
    if(WF[playerid][pRespect] <= 1200) {    WF[playerid][pLevel] = 19;              }
    if(WF[playerid][pRespect] <= 1500) {    WF[playerid][pLevel] = 20;              }
    if(WF[playerid][pRespect] <= 2000) {    WF[playerid][pLevel] = 21;              }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)