Update3DTextLabel problem
#1

Код:
C:\Documents and Settings\Administrator\Desktop\SAMP-server\gamemodes\gmbeta.pwn(777) : error 017: undefined symbol "Update3DTextLabel"
C:\Documents and Settings\Administrator\Desktop\SAMP-server\gamemodes\gmbeta.pwn(802) : error 017: undefined symbol "Update3DTextLabel"
777
Код:
Update3DTextLabel(HInfo[i][Label],0xFF0000FF,string);
802
Код:
Update3DTextLabel(HInfo[i][Label],0xFF0000FF,string);
Reply
#2

The function is Update3DTextLabelText, not Update3DTextLabel!
Reply
#3

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"
Reply
#4

Does Label exist in your HInfo enum? Show how you construct the enum!
Reply
#5

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.
Reply
#6

You clearly named it "HouseLabel", not just "Label", so you actually have to use HInfo[i][HouseLabel]!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)