Quote:
Originally Posted by Beaver07
Quote:
Originally Posted by [ECR
SancheZ ]
Hi GuyZ,
I got a problem, i made a textdraw like this but it isnt there...:
New:
OnPlayerConnect:
pawn Код:
TextDrawShowForPlayer(playerid, ecrls);
OnGameModeInit:
pawn Код:
ecrls = TextDrawCreate(4, 457, "EC-RLS"); TextDrawAlignment(ecrls, 1); TextDrawFont(ecrls, 3); TextDrawLetterSize(ecrls, 0.3, 0.3); TextDrawColor(ecrls, 0xFFFF00FF);
Can someone help me please?
Greetings,
[ECR]SancheZ
|
try this
pawn Код:
new Text:ecrls[MAX_PLAYERS];
OnPlayerConnect:
pawn Код:
TextDrawShowForPlayer(playerid, ecrls[playerid]);
OnGameModeInit:
pawn Код:
for(new i=0; i < MAX_PLAYERS; i++) { ecrls[i] = TextDrawCreate(4, 457, "EC-RLS"); TextDrawAlignment(ecrls[i], 1); TextDrawFont(ecrls[i], 3); TextDrawLetterSize(ecrls[i], 0.3, 0.3); TextDrawColor(ecrls[i], 0xFFFF00FF); }
this will just make the textdraw to each player rather than global
hope this helps
|
There's no point of doing that unless he wants to use TextDrawSetString and make different messages for every people which is not the case. I have a good feeling that [ECR]SancheZ's coordinates are not near the screen coordinates.