16.10.2011, 20:59
i did like that
but its not working because it shows me level 0
and my level is 1337
PHP код:
new Text:himessage;
public OnGameModeInit()
{
himessage = TextDrawCreate(1.0, 5.6, "Level");
}
public OnPlayerConnect(playerid)
{
new newtext[41];
format(newtext, sizeof(newtext), "Level: %i",PlayerLevel[playerid]);
TextDrawSetString(himessage, newtext);
TextDrawShowForPlayer(playerid, himessage);
and my level is 1337