10.07.2010, 20:17
You have to create a textdraw to each player. I don't wan't make a full code for you but here's a short example.
pawn Код:
new Text:MyHealthTxt[MAX_PLAYERS];
public OnGameModeInit() {
for(new i = 0; i < GetMaxPlayers(); i ++ ) {
MyHealthTxt[i] = TextDrawCreate(...);
// Etc...
}
return 1;
}
public OnPlayerOnStealthMode(playerid) {
TextDrawSetString(MyHealthTxt[playerid], Number);
TextDrawShowForPlayer(playerid, MyHealthTxt[playerid]);
}