[HELP] credit bank
#1

Hello how can I make when player goes to the bank and type credit to see for level which I put to get credit in dialog. For example I have in dialog credit 10000 and 100000 how can I make know if is player lvl 3 he will get in dialog credit for 10000 but if player is lvl 24 then he will get credit for 100000 if you know what I mean and is this possible to make?* Thanks
Reply
#2

pawn Код:
if(pInfo[playerid][pLevel] == 3)
{
      // stuff
      // Show dialog credit as 10000
}
if(pInfo[playerid][pLevel] == 24)
{
      //stuff
      // Show dialog credit as  100000
}
Reply
#3

how you mean show dialog can I put then and for lvl 3 and ll 24 for example

ShowPlayerDialog(playerid,978,DIALOG_STYLE_LIST,"{ 00C0FF}Credit,"{FFFFFF}Small credit($15.000)\n{FFFFFF}Big credit($100000)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)