16.08.2011, 21:58
Under OnGameModeInIt():
Under OnPlayerSpawn(playerid):
I don't get any errors but the text draw doesn't show!
pawn Код:
Scores = TextDrawCreate(150,450,"Loading Values");
new tmpstr[250];//Accommodate for string size
format(tmpstr,sizeof(tmpstr),"Grove:%d Ballas:%d Vagos:%d Azteca:%d Mafia:%d",GScores,BScores,VScores,AScores,MScores);
TextDrawSetString(Scores,tmpstr);
TextDrawFont(Scores,1);
TextDrawLetterSize(Scores,0.3,2.1);
TextDrawColor(Scores,GREY);
TextDrawSetOutline(Scores,0);
TextDrawSetProportional(Scores,1);
TextDrawSetShadow(Scores,0);
TextDrawUseBox(Scores,1);
TextDrawBoxColor(Scores,BLACK);
pawn Код:
TextDrawShowForPlayer(playerid,Scores);