23.01.2014, 07:26
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
This is the line:
Here are the defines too if you need them:
Any help would be much appreciated and will be given +rep
Код:
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
Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""COLOR_WHITE"Login", ""COLOR_WHITE"Type your password below to login.", "Login", "Quit");
Код:
#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