textdraw problem
#1

public OnPlayerDeath(playerid, killerid, reason)
{
new string[128];
format(string, sizeof(string), "Level: %d",pInfo[killerid][Lygis]);
TextDrawSetString(Textdraw1[killerid], string);
return 1;
}


error 028: invalid subscript (not an array or too many subscripts): "Textdraw1"
Line: TextDrawSetString(Textdraw1[killerid], string);

whats wrong?
Reply
#2

help....
Reply
#3

up....
Reply
#4

You're bumping too fast.
Do you have somewhere at top:

pawn Код:
new Text:Textdraw1[MAX_PLAYERS];
And did you create it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)