ShowPlayerDialog
#1

Getting a heap of messages with this ShowPlayerDialog line for some odd reason while trying to make a login system off this tutorial: https://sampforum.blast.hk/showthread.php?tid=273088

Код:
C:\Users\Leigh\Documents\GTA SA\samp server\gamemodes\cnc.pwn(191) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Leigh\Documents\GTA SA\samp server\gamemodes\cnc.pwn(191) : warning 215: expression has no effect
C:\Users\Leigh\Documents\GTA SA\samp server\gamemodes\cnc.pwn(191) : error 001: expected token: ";", but found "-string-"
C:\Users\Leigh\Documents\GTA SA\samp server\gamemodes\cnc.pwn(191) : warning 215: expression has no effect
C:\Users\Leigh\Documents\GTA SA\samp server\gamemodes\cnc.pwn(191) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Leigh\Documents\GTA SA\samp server\gamemodes\cnc.pwn(191) : fatal error 107: too many error messages on one line
This is the line:

Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""COLOR_WHITE"Login", ""COLOR_WHITE"Type your password below to login.", "Login", "Quit");
Here are the defines too if you need them:

Код:
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
#define PATH "/Users/%s.ini"

#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_RED 0xF81414AA
#define COLOR_GREEN 0x00FF22AA
#define COLOR_LIGHTBLUE 0x00CED1AA
Any help would be much appreciated and will be given +rep
Reply


Messages In This Thread
ShowPlayerDialog - by Wizardking - 23.01.2014, 07:26
Re: ShowPlayerDialog - by PowerPC603 - 23.01.2014, 07:38
Re: ShowPlayerDialog - by Scottas - 23.01.2014, 07:46
Re: ShowPlayerDialog - by Wizardking - 23.01.2014, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)