tZone[i] = CreateDynamic3DTextLabel( WriteLabel(text), 0xAA3333FF, ZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0);
WriteLabel(text) { SetTimerEx("WriteLabelUpdate", 1000, true,"i",text); }
forward WriteLabelUpdate(text); public WriteLabelUpdate(text){
for(new i = 0; i < MAX_TEST; i++)
{
if(ZoneInfo[i][zTaken] == false){
text = "You Can";
}
if(ZoneInfo[i][zTaken] == true){
text = "You Can't";
}
}
}
error 017: undefined symbol "text" error 006: must be assigned to an array error 006: must be assigned to an array |
public WriteLabelUpdate(text[])
{
text = "You Can't";
}
error 017: undefined symbol "text" |
tZone[i] = CreateDynamic3DTextLabel( WriteLabel(text), 0xAA3333FF, ZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0);
tZone[i] = CreateDynamic3DTextLabel( WriteLabel(""), 0xAA3333FF, ZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0);
new text[5] = "hello";
tZone[i] = CreateDynamic3DTextLabel( WriteLabel(text), 0xAA3333FF, ZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0);