Login - Register - OnPlayerConnect problem.
#5

Quote:
Originally Posted by Shinja
Посмотреть сообщение
You ShowPlayerDialog contains many (") that confuses the compiler and don't know which is the string, which is the color, use embed colors better

PHP код:
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_INPUT,"{FFFFFF}Login","{FFFFFF}Type your password below to login.","Login","Quit"); 
PHP код:
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_INPUT,"{FFFFFF}Registering...","{FFFFFF}INFO: Type your password below to register to save your account's stats!","Register","Quit"); 
It confuses you, not the compiler. It is true that by convention "COLOR_" is defined as a hex color and not an embedded color. In this case, Shinja is right: you need embedded colors, which are by convention defined as "COL_" followed by the name.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)