Some errors help! +1 rep
#1

1:
Error:
pawn Код:
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : error 017: undefined symbol "distance"
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : warning 215: expression has no effect
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : error 001: expected token: ";", but found ")"
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : error 029: invalid expression, assumed zero
F:\HRP\ DYNAMIC \BACKUP + IMP\gamemodes\nomysql.pwn(53778) : fatal error 107: too many error messages on one line
Line:
pawn Код:
else if(strcmp(choice, "exterior", true) == 0)
    {
        GetPlayerPos(playerid, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
        GetPlayerFacingAngle(playerid, HouseInfo[houseid][hExteriorA]);
        SendClientMessageEx( playerid, COLOR_WHITE, "You have changed the exterior!" );
        DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
        //DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
        SaveHouses();

        format(string, sizeof(string), "%s has edited HouseID %d's Exterior.", GetPlayerNameEx(playerid), houseid);
        Log("logs/hedit.log", string);
        if(HouseInfo[houseid][hOwned] ==0)
        {
            DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
            //DestroyDynamicPickup(HouseInfo[houseid][hPickupID]);
            DestroyDynamic3DTextLabel(HouseInfo[houseid][hTextID]);
            format(string, sizeof(string), "This house is\n for sale!\n Description: %s\nCost: $%d\n Level: %d\nID: %d\nTo buy this house type /buyhouse",HouseInfo[houseid][hDescription],HouseInfo[houseid][hValue],HouseInfo[houseid][hLevel],houseid);
            HouseInfo[houseid][hTextID] = CreateDynamic3DTextLabel( string, COLOR_GREEN, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0); ////// this is the lineeeeee /////////
            HouseInfo[houseid][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
        }
        else
JUST REPLY BELOW WITH THE FIXED ONE PLEASE!
Reply


Messages In This Thread
[NO MORE HELP NEEDED]Some errors help! +1 rep - by vexer1234 - 29.07.2012, 15:12
Re: Some errors help! +1 rep - by HyDrAtIc - 29.07.2012, 15:17
Re: Some errors help! +1 rep - by HyDrAtIc - 29.07.2012, 15:20
Re: Some errors help! +1 rep - by vexer1234 - 29.07.2012, 15:22
Re: Some errors help! +1 rep - by HyDrAtIc - 29.07.2012, 15:27
Re: Some errors help! +1 rep - by gychem - 29.07.2012, 15:31
Re: Some errors help! +1 rep - by vexer1234 - 29.07.2012, 15:31
Re: Some errors help! +1 rep - by HyDrAtIc - 29.07.2012, 15:35
Re: Some errors help! +1 rep - by vexer1234 - 29.07.2012, 15:39
Re: Some errors help! +1 rep - by vexer1234 - 29.07.2012, 15:42

Forum Jump:


Users browsing this thread: 3 Guest(s)