SA-MP Forums Archive
textdraw problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: textdraw problem (/showthread.php?tid=208402)



textdraw problem - jaksimaksi - 08.01.2011

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?


Re: textdraw problem - jaksimaksi - 08.01.2011

help....


Re: textdraw problem - jaksimaksi - 08.01.2011

up....


Re: textdraw problem - Kwarde - 08.01.2011

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

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