Can't receive house info?
#1

pawn Код:
enum hhInfo
{
    hOwner[128], //HouseInfo[house][hOwner],HouseInfo[house][hPrice],HouseInfo[house][hLock],HouseInfo[house][hRentable]);
    hPrice,
    hLock,
    hRentable,
}
pawn Код:
if(house != 1000)
    {
        format(string, sizeof(string),"(Property): Owner:[%s] Value:[%d] Locked:[%d] Rentable:[%d]", HouseInfo[hhInfo][hOwner],HouseInfo[hhInfo][hPrice],HouseInfo[hhInfo][hLock],HouseInfo[house][hRentable]);
        SendClientMessage(playerid,statscolor2,string);
    }
So, basically, all that appears is a black textdraw and the info won't appear, the thing is, the enum was defined but I'm not sure if the text-draw thingy is working. Keep in mind before eating me alive that I'm editing the script for someone else, and it should be grabbing the info, but textdraw might not be working? I mean all that appears is a black box and I get these warnings which seem to be irrelevant with the damn info:

pawn Код:
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreateCurrentPageTextDraw"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreateFurnitureSelectionMenu"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreatePlayerBackgroundTextDraw"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreatePlayerDialogButton"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreatePlayerHeaderTextDraw"
Reply


Messages In This Thread
Can't receive house info? - by Jason_Roul - 30.12.2013, 16:58
Re: Can't receive house info? - by Jason_Roul - 30.12.2013, 17:15
Re: Can't receive house info? - by Jason_Roul - 30.12.2013, 17:54
Re: Can't receive house info? - by Jason_Roul - 30.12.2013, 23:48
Re: Can't receive house info? - by Scott Zulkifli - 30.12.2013, 23:53
Re: Can't receive house info? - by Jason_Roul - 03.01.2014, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)