Errors on one line
#1

The line is here:
pawn Код:
public OnPlayerConnect(playerid)
{
    sdisplay[playerid] = TextDrawCreate(10.0,200.0," ");
And errors are here:
Код:
error 017: undefined symbol "sdisplay"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Reply
#2

You didn't create the variable... (I believe)

pawn Код:
new Text:sdisplay[MAX_PLAYERS];
Reply
#3

Still the same
Reply
#4

Fixed my code, tested and it compiled successfully.
Reply
#5

put that line on the top of the GM/FS after #include

pawn Код:
new sdisplay[MAX_PLAYERS];
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)