if(dialogid == DIALOG_ACMDS && response)
{
switch( listitem )
{
case 0:
{
if(PlayerInfo[playerid][AdminLevel] >= LEVEL_acmds1)
{
ShowPlayerDialog(playerid, DIALOG_ACMDS, DIALOG_STYLE_MSGBOX, "Admin Level One Cmds", "/cp : To Tele To Player's Car\n/setcolor : To Change Your Color\n/god : GodMode\n/mbase : Admin Base\n/baso : Open Base Gate\n/roofo : Open Admin Base Heli Gate\n/reports : To See Player Reports\n/spec : To Spectate A Player\n/mytime : Set Your Time\n/clearchat\n/warn : Give player A Warning\n/miniguns : To Show You Who Has A Minigun", "OKAY", "");
}
}
case 1:
{
if(PlayerInfo[playerid][AdminLevel] >= LEVEL_acmds2)
{
ShowPlayerDialog(playerid, DIALOG_ACMDS, DIALOG_STYLE_MSGBOX, "Admin Level Two Cmds", "/cp : To Tele To Player's Car\n/setcolor : To Change Your Color\n/god : GodMode\n/mbase : Admin Base\n/baso : Open Base Gate\n/roofo : Open Admin Base Heli Gate\n/reports : To See Player Reports\n/spec : To Spectate A Player\n/mytime : Set Your Time\n/clearchat\n/warn : Give player A Warning\n/miniguns : To Show You Who Has A Minigun\n/setskin : To Change Your Skin\n/apm : Send An Admin PM\n/armour : Get Armour\n/(Un)mute : Mute Or UnMute A Player\n/slap : Slap A Player", "OKAY", "");
}
}
case 2:
{
if(PlayerInfo[playerid][AdminLevel] >= LEVEL_acmds3)
{
ShowPlayerDialog(playerid, DIALOG_ACMDS, DIALOG_STYLE_MSGBOX, "Admin Level Two Cmds", "/cp : To Tele To Player's Car\n/setcolor : To Change Your Color\n/god : GodMode\n/mbase : Admin Base\n/baso : Open Base Gate\n/roofo : Open Admin Base Heli Gate\n/reports : To See Player Reports\n/spec : To Spectate A Player\n/mytime : Set Your Time\n/clearchat\n/warn : Give player A Warning\n/miniguns : To Show You Who Has A Minigun\n/setskin : To Change Your Skin\n/apm : Send An Admin PM\n/armour : Get Armour\n/(Un)mute : Mute Or UnMute A Player\n/slap : Slap A Player", "OKAY", "");
}
}
}
return 1;
}
}
return 0;
}
1: Give us the Errors
2: don't use this Code box use the Pawn code box or the php box |
D:\desktop 9-6-2014\WOS_Beta_Testing\gamemodes\WOS_Beta.pwn(4184) : error 075: input line too long (after substitutions)
D:\desktop 9-6-2014\WOS_Beta_Testing\gamemodes\WOS_Beta.pwn(4185) : error 037: invalid string (possibly non-terminated string)
D:\desktop 9-6-2014\WOS_Beta_Testing\gamemodes\WOS_Beta.pwn(4185) : error 029: invalid expression, assumed zero
D:\desktop 9-6-2014\WOS_Beta_Testing\gamemodes\WOS_Beta.pwn(4185) : error 017: undefined symbol "To"
D:\desktop 9-6-2014\WOS_Beta_Testing\gamemodes\WOS_Beta.pwn(4185) : 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.