08.01.2011, 13:16
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?
{
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?