29.07.2012, 14:08
Hello all! I am asking for a help find me where I made mistake. :S
(835) : error 030: compound statement not closed at the end of file (started at line 831)
pawn Код:
CMD:buysports(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 546.2457,-1280.3177,17.2482))
{
new Float:x, Float:y, Float:z;
new sportscars;
GetPlayerPos(playerid, x, y, z);
ShowPlayerDialog(playerid, sportscars, DIALOG_STYLE_LIST, "Sports Cars", "Buffalo\nAlpha\nBanshee\nBlista Compact\nBullet\nCheetah\nClub\nEuros\nFlash\nHotring Racer 1\nHotring Racer 2\nInfernus\nJester\nPhoenix\nSabre\nSuper GT\nTurismo\nUranus\nZR-350", "Buy", "button2[]");
{
switch(sportscars)
{
case 0:
{
CreateVehicle(402, x, y, z, 0, 0, 0, 0); //This is the 831 line which he signals as bad one.
{
return 1;
}