ShowPlayerDialog and count help - 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: ShowPlayerDialog and count help (
/showthread.php?tid=655464)
ShowPlayerDialog and count help -
IdonTmiss - 21.06.2018
Well I want to make an dialog exactly like this I just don't know how to connect count and stuff, for "players" any help will come in handy btw here's a screenshot
Re: ShowPlayerDialog and count help -
Jing_Chan - 21.06.2018
You could use variables, for example;
pawn Код:
new WesternTown[MAX_PLAYERS];
pawn Код:
/* Code of dialog etc where they join Western Town..*/
WesternTown+= 1;
pawn Код:
/* Code of diaog when they leave..*/
WesternTown-= 1;
Re: ShowPlayerDialog and count help -
IdonTmiss - 22.06.2018
Quote:
Originally Posted by Jing_Chan
You could use variables, for example;
pawn Код:
new WesternTown[MAX_PLAYERS];
pawn Код:
/* Code of dialog etc where they join Western Town..*/ WesternTown+= 1;
pawn Код:
/* Code of diaog when they leave..*/ WesternTown-= 1;
|
Aha, so yeah now how to create the dialog and put that %i in there?
Re: ShowPlayerDialog and count help -
IdonTmiss - 23.06.2018
bump