error 030: compound statement not closed at the end of file
#1

Hi, I'm New on that forum so..

i have that error : error 030: compound statement not closed at the end of file (started at line 35)

http://pastebin.com/NfAzsqe2 ( there is my FS )

//Sorry for bad english
Reply
#2

You missed a bracket there

Код:
if (strcmp("/r", cmdtext, true, 10) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if (GetPlayerState(playerid) == 2)
        {
            new tmpcar = GetPlayerVehicleID(playerid);
            SetVehiclePos(tmpcar, GetPVarFloat(playerid,"xpos"),GetPVarFloat(playerid,"ypos"),GetPVarFloat(playerid,"zpos"));
            LinkVehicleToInterior(tmpcar, GetPVarInt(playerid,"int"));
        }
        else
        {
            SetPlayerPos(playerid, GetPVarFloat(playerid,"xpos"), GetPVarFloat(playerid,"ypos"), GetPVarFloat(playerid,"zpos"));
            SetPlayerInterior(playerid, GetPVarInt(playerid,"int"));
        }
        SendClientMessage(playerid, 0x33AA33AA, "Loaded Saved Position.");
        return 1;
    }
}
Try that.
Reply
#3

Same Problem :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)