Help Help
#1

PHP код:
tZone[i] = CreateDynamic3DTextLabelWriteLabel(text), 0xAA3333FFZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0); 
PHP код:
WriteLabel(text) { SetTimerEx("WriteLabelUpdate"1000true,"i",text);  } 
PHP код:
forward WriteLabelUpdate(text); public WriteLabelUpdate(text){
    for(new 
0MAX_TESTi++)
    {
        if(
ZoneInfo[i][zTaken] == false){
            
text "You Can";
        }
        if(
ZoneInfo[i][zTaken] == true){
            
text "You Can't";
        }
    }

i try to update text label

Quote:

error 017: undefined symbol "text"
error 006: must be assigned to an array
error 006: must be assigned to an array

Help please and thank
Reply
#2

The problem is, I think, that you are trying to save a text in a variable integer, recalls that texts you must save them in variable string.

PHP код:
public WriteLabelUpdate(text[])
{
    
text "You Can't";

Reply
#3

thank you now just one error

Quote:

error 017: undefined symbol "text"

line :
PHP код:
tZone[i] = CreateDynamic3DTextLabelWriteLabel(text), 0xAA3333FFZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0); 
Reply
#4

You must enter a text , you don't have declared the variable string "text".

PHP код:
tZone[i] = CreateDynamic3DTextLabelWriteLabel(""), 0xAA3333FFZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0); 
OR

PHP код:

new text[5] = "hello";

tZone[i] = CreateDynamic3DTextLabelWriteLabel(text), 0xAA3333FFZoneInfo[i][zCPX], ZoneInfo[i][zCPY], ZoneInfo[i][zCPZ], 50.0); 
Reply
#5

- REMOVED -
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)