Server rules dialog
#1

Hello everyone today i come with a problem which is the rules dialog

i just downloaded Dialog Creator 1.1 by Tek and Patch to make my server rules dialog and i have a problem when i compile the Gamemode:

pawn Код:
C:\Users\xxx\Desktop\Samp Script\.pwn , .amx\GM\SupremeTestWorld.pwn(577) : error 075: input line too long (after substitutions)
C:\Users\xxx\Desktop\Samp Script\.pwn , .amx\GM\SupremeTestWorld.pwn(578) : error 037: invalid string (possibly non-terminated string)
C:\Users\xxx\Desktop\Samp Script\.pwn , .amx\GM\SupremeTestWorld.pwn(578) : error 017: undefined symbol "No"
C:\Users\xxx\Desktop\Samp Script\.pwn , .amx\GM\SupremeTestWorld.pwn(578) : error 017: undefined symbol "hacking"
C:\Users\xxx\Desktop\Samp Script\.pwn , .amx\GM\SupremeTestWorld.pwn(578) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
here's the lines where the problem is:

pawn Код:
public OnPlayerConnect(playerid)
{   // Login Message
    new pName[24];
    new str[128];
    GetPlayerName(playerid, pName, 24);
    format(str, 128, "[SERVER] %s Joined Supreme Stunt World", pName);
    SendClientMessageToAll(0xB8860BAA, str);
    // Auto Repair
    SetTimerEx("AutoRepair",500,true,"d",playerid);
    // Login and Register System
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    // Rules Dialog
    ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Server Rules","1- No hacking/Cheating to get advantage over other players!\n2- No Bug Abusing, c-bug, g-abuse and all other bugs are not allowed[2shot is allowed, you can also switch the weapons to reload]\n3- No Blocking, Carjacking, Drive-by etc.. ,Players wanna have fun and dont wanna be always be blocked in ramps, helikilled by someone.\n4- No Spawnkill, Players dont wanna be killed everytime they spawn.\n5- No Advertisement, do NOT send any other server IP!\6- NO Racism/Insults, Everyone is allowed to play here.Not supporting any intolerance to other races, if so, please grow up.\7- Respect Everyone, Treat other players the way that you would want to be treated.","Ok","");
    return 1;
}
but weird is that my CMD to show the rules dont have any problem :/ and it is the same code
Reply


Messages In This Thread
Server rules dialog - by Andre02 - 29.07.2014, 15:21
Re: Server rules dialog - by GShock - 29.07.2014, 15:28
Re : Re: Server rules dialog - by Andre02 - 29.07.2014, 15:40
Re: Server rules dialog - by DaniceMcHarley - 29.07.2014, 15:43
Re : Re: Server rules dialog - by Andre02 - 29.07.2014, 15:57
Re : Server rules dialog - by Andre02 - 29.07.2014, 16:32
Re : Server rules dialog - by Andre02 - 29.07.2014, 16:57
Re: Server rules dialog - by DaniceMcHarley - 29.07.2014, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)