11.10.2010, 16:14
Hello everyone
can you tell me what's wrong here?
new Text:Stats;
OnGameModeInit
Stats = TextDrawCreate(405.000000,112.000000,"Score:");
TextDrawAlignment(Stats,0);
TextDrawFont(Stats,1);
TextDrawLetterSize(Stats,0.499999,1.100000);
TextDrawColor(Stats,COLOR_WHITE);
TextDrawSetOutline(Stats,1);
TextDrawSetProportional(Stats,1);
OnPlayerConnect
new Score[41];
GetPlayerScore(playerid);
format(Score, sizeof(Score), "Score: %s", GetPlayerScore(playerid) );
TextDrawSetString(Stats, Score);
TextDrawShowForPlayer(playerid, Stats);
OnPlayerSpawn
TextDrawShowForPlayer(playerid, Stats);
can you tell me what's wrong here?
new Text:Stats;
OnGameModeInit
Stats = TextDrawCreate(405.000000,112.000000,"Score:");
TextDrawAlignment(Stats,0);
TextDrawFont(Stats,1);
TextDrawLetterSize(Stats,0.499999,1.100000);
TextDrawColor(Stats,COLOR_WHITE);
TextDrawSetOutline(Stats,1);
TextDrawSetProportional(Stats,1);
OnPlayerConnect
new Score[41];
GetPlayerScore(playerid);
format(Score, sizeof(Score), "Score: %s", GetPlayerScore(playerid) );
TextDrawSetString(Stats, Score);
TextDrawShowForPlayer(playerid, Stats);
OnPlayerSpawn
TextDrawShowForPlayer(playerid, Stats);