Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
The function is Update3DTextLabelText, not Update3DTextLabel!
Posts: 43
Threads: 18
Joined: Jun 2011
Reputation:
0
C:\Documents and Settings\Administrator\Desktop\SAMP-server\gamemodes\gmbeta.pwn(777) : error 017: undefined symbol "Label"
C:\Documents and Settings\Administrator\Desktop\SAMP-server\gamemodes\gmbeta.pwn(802) : error 017: undefined symbol "Label"
Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
Does Label exist in your HInfo enum? Show how you construct the enum!
Posts: 43
Threads: 18
Joined: Jun 2011
Reputation:
0
enum HouseInfo//Naming the enum
{
Owner[24],//This will be where it will store the house owner name, in a 24 bit size array.
Owned,//To store if the house is owned or not.
Price,//How much the house will cost.
Float:XPos,//Float X position of the checkpoint
Float:YPos,//Self explanatory.
Float:ZPos,//Self explanatory.
VirtualWorld,//The checkpoints virtual world.
Text3D:HouseLabel//That label where it says "Owned Price..."
}
new HInfo[MAX_HOUSES][HouseInfo];//This is the var where we will read the house info.
Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
You clearly named it "HouseLabel", not just "Label", so you actually have to use HInfo[i][HouseLabel]!