13.10.2013, 08:01
There are 6 textdraws all are listed like this
TD1
TD2
TD3
TD4
TD5
TD6
When the mouse is over TD1 it goes green (it's the color i chosen for SelectTextdraw)
TD1
TD2
TD3
TD4
TD5
TD6
When the mouse if over TD4 let's say, this happens and says TD1 is being chosen (Debug text)
TD1
TD2
TD3
TD4
TD5
TD6
Code:
TD1
TD2
TD3
TD4
TD5
TD6
When the mouse is over TD1 it goes green (it's the color i chosen for SelectTextdraw)
TD1
TD2
TD3
TD4
TD5
TD6
When the mouse if over TD4 let's say, this happens and says TD1 is being chosen (Debug text)
TD1
TD2
TD3
TD4
TD5
TD6
Code:
pawn Код:
public OnPlayerRequestClass(playerid){
TogglePlayerSpectating(playerid, 1);
InterpolateCameraPos(playerid, -2675.578125, 2264.015380, 99.090797, 2922.019287, 1951.965087, 51.941925, 80000);
InterpolateCameraLookAt(playerid, -2670.686767, 2263.962646, 98.055381, 2925.892333, 1952.052124, 48.780982, 15000);
SelectTextDraw(playerid, GREEN);
TextDrawShowForPlayer(playerid, cTeam[0]);
TextDrawShowForPlayer(playerid, cTeam[1]);
TextDrawShowForPlayer(playerid, cTeam[2]);
TextDrawShowForPlayer(playerid, cTeam[3]);
TextDrawShowForPlayer(playerid, cTeam[4]);
TextDrawShowForPlayer(playerid, cTeam[5]);
TextDrawShowForPlayer(playerid, cTeam[6]);
TextDrawShowForPlayer(playerid, cTeam[7]);
TextDrawShowForPlayer(playerid, cTeam[8]);
TextDrawShowForPlayer(playerid, cTeam[9]);
TextDrawShowForPlayer(playerid, cTeam[10]);
return 1;
}