09.08.2011, 18:34
Hello.
I use this code that is supposed to display textdraw to all players
It is in the OnFilterScriptInit.
I declared Text:text_grade[MAX_PLAYERS] at the top.
Problem: Nothing appears (I have no error).
PS: I also tried to put in the TextDrawShowForPlayer OnPlayerSpawn, without success.
--------------------------------------------------------
I am also looking for accommodation offering 50 to 100 slots, free or inexpensive for 1 month and then pay (by then my shop will be running).
Thank you!
I use this code that is supposed to display textdraw to all players
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { text_grade[i] = TextDrawCreate(503.000000, 127.000000, "Grade : Recrue (1)"); TextDrawFont(text_grade[i], 0); TextDrawLetterSize(text_grade[i], 1, 7); TextDrawColor(text_grade[i], 0x6060FDFF); TextDrawSetProportional(text_grade[i], 1); TextDrawSetShadow(text_grade[i], 1); TextDrawShowForPlayer(i, text_grade[i]); } }
I declared Text:text_grade[MAX_PLAYERS] at the top.
Problem: Nothing appears (I have no error).
PS: I also tried to put in the TextDrawShowForPlayer OnPlayerSpawn, without success.
--------------------------------------------------------
I am also looking for accommodation offering 50 to 100 slots, free or inexpensive for 1 month and then pay (by then my shop will be running).
Thank you!