Dialog can use string?
#1

as title. i want use string to categories my dialogid. Like this

pawn Код:
ShowPlayerDialog(playerid,login_dialog,DIALOG_STYLE_INPUT,"Login","Enter your password below:","Login","Cancel");
Is only support Int?

PSialog below can use "********"?
Reply
#2

string too
Reply
#3

I do not understand.

Sorry for my bad English.
Reply
#4

if(dialogid == login_dialog)
if(!strcmp(inputtext,dini_get... or other file system))
//login
Reply
#5

If you mean how to use strings like dialogid well, you can:
pawn Код:
#define login_dialog 0 //Example
Reply
#6

Quote:
Originally Posted by Zimon95
Посмотреть сообщение
If you mean how to use strings like dialogid well, you can:
pawn Код:
#define login_dialog 0 //Example
So,You mean if I need to use string as dialogid.

I need dim a define string for this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)