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
#2

wait second i will grab the pawn code for you
Reply
#3

add

#include <a_samp> on top of your script
Reply
#4

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
add

#include <a_samp> on top of your script
i already have it!

pawn Код:
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <audio>
Reply
#5

show us the line show error not all cmd
Reply
#6

Add a screenshot of your lines in pwn, or tell me what is on line 53778
Reply
#7

pawn Код:
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 /////////
Reply
#8

damn i just compile no error appear 0_0 try to run pawno as administrator and see if it work
Reply
#9

Still errors... :/
Reply
#10

bummpppp + Its fixed! Rep'ed all!!

THANKS!!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)