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.
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;
case 3;
case 3:
Take a look at the errors, read them and understand them.
First error is extremely simple: pawn Код:
pawn Код:
Now try solve the rest of the errors, the errors explain the problem to you ![]() |