26.05.2011, 18:51
I have problem with dialog.
This is errors
this is codes from line 680 to 700
http://pokit.etf.ba/get/?44fbd9ae820...bbca793bfd.jpg
Код:
C:\Documents and Settings\Korisnik\Desktop\G.R.P\gamemodes\General_Alpha.pwn(680) : error 001: expected token: ":", but found ";" C:\Documents and Settings\Korisnik\Desktop\G.R.P\gamemodes\General_Alpha.pwn(680) : error 036: empty statement C:\Documents and Settings\Korisnik\Desktop\G.R.P\gamemodes\General_Alpha.pwn(691) : warning 209: function "OnDialogResponse" should return a value C:\Documents and Settings\Korisnik\Desktop\G.R.P\gamemodes\General_Alpha.pwn(694) : error 054: unmatched closing brace ("}") C:\Documents and Settings\Korisnik\Desktop\G.R.P\gamemodes\General_Alpha.pwn(695) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
this is codes from line 680 to 700
http://pokit.etf.ba/get/?44fbd9ae820...bbca793bfd.jpg
pawn Код:
case 2:
{
new pName[MAX_PLAYER_NAME];
new string[300];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "{F81414}%s has been teleported to Area 69!If you want too then do /tele and Area 69!", pName);
SendClientMessageToAll(0xEB0000FF, string);
SetPlayerPos(playerid,351.4114,2024.7943,22.6406);
}
case 3;
{
new pName[MAX_PLAYER_NAME];
new string[300];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "{F81414}%s has been teleported to Abandon Airport!If you want too then do /tele and Abandon Airport!", pName);
SendClientMessageToAll(0xEB0000FF, string);
SetPlayerPos(playerid,413.7651,2537.4702,19.1484);
}
}
}
// Add the rest of your dialogs here
}
return 0;