17.12.2012, 04:57
Hey Guys, i have one problem in my script, i've created LapTop system, i just created 3 msgboxes for fun, now here they are
But, when i try to convert it, it sends me error
Please, how to fix it?
Thanks
Repping all comments
pawn Код:
case DIALOG_laptop:
{
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, ""RED"Internet News - Laptop Windows 8", ""RED"Internet News From CONSTRUCTION Group\n{00FF00}Dear Civilians of Palonimo Creek! We got some nice News For you!\nWe have some great news, we are building Palonimo Creek Police Department's Building! This will bring more Safety for People\nIf You want to donate us some money, please use /charity\nWriten By {{Ekstazi}}", "Turn Off", "Turn Off");
}
case 1:
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, ""RED"Weather News - Laptop Windows 8", ""RED"Weather News [24/7]\n{00FF00}Dear Civilians in San Andreas!\nWeather in San Andreas will be fine Today and this week! There will be some Snow!\nWriten by Company 24/7", "Turn Off", "Turn Off");
case 2:
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Weather News - Laptop Windows 8", ""RED"Weather News [24/7]\n{00FF00}Dear Civilians in San Andreas!\nWeather in San Andreas will be fine Today and this week! There will be some Snow!\nWriten by Company 24/7", "Turn Off", "Turn Off");
}
}
}
}
return true;
}
return false;
}
pawn Код:
D:\Server\gamemodes\BSJ.pwn(3141) : error 014: invalid statement; not in switch
D:\Server\gamemodes\BSJ.pwn(3141) : warning 215: expression has no effect
D:\Server\gamemodes\BSJ.pwn(3141) : error 001: expected token: ";", but found ":"
D:\Server\gamemodes\BSJ.pwn(3141) : error 029: invalid expression, assumed zero
D:\Server\gamemodes\BSJ.pwn(3141) : fatal error 107: too many error messages on one line
Thanks
Repping all comments