[HELP] credit bank - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] credit bank (
/showthread.php?tid=513401)
[HELP] credit bank -
Luca12 - 16.05.2014
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
Re: [HELP] credit bank -
Affan - 16.05.2014
pawn Код:
if(pInfo[playerid][pLevel] == 3)
{
// stuff
// Show dialog credit as 10000
}
if(pInfo[playerid][pLevel] == 24)
{
//stuff
// Show dialog credit as 100000
}
Re: [HELP] credit bank -
Luca12 - 16.05.2014
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)