level show in the screen
#5

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


Messages In This Thread
level show in the screen - by marik1322 - 16.10.2011, 19:23
Re: level show in the screen - by Dolby - 16.10.2011, 19:32
Re: level show in the screen - by Kingunit - 16.10.2011, 19:34
Re: level show in the screen - by marik1322 - 16.10.2011, 20:00
Re: level show in the screen - by marik1322 - 16.10.2011, 20:59
Re: level show in the screen - by Kingunit - 16.10.2011, 21:06
Re: level show in the screen - by marik1322 - 16.10.2011, 21:10
Re: level show in the screen - by Kingunit - 16.10.2011, 21:14
Re: level show in the screen - by marik1322 - 16.10.2011, 21:19
Re: level show in the screen - by Kingunit - 16.10.2011, 21:20

Forum Jump:


Users browsing this thread: 3 Guest(s)