Textdraw List |Help|
#4

pawn Код:
//create a checkpoint with steamer plugin and add a callback OnPlayerEnterDynamicCP(playerid, checkpointid);
//instead of OnPlayerEnterCheckpoint();

new text_classification[5] = {
       Text:Evacplayer1,
       Text:Evacplayer2,
       Text:Evacplayer3,
       Text:Evacplayer4,
       Text:Evacplayer5
};

new classifications[MAX_PLAYERS][5];

//OnPlayerEnterDynamicCP(playerid, checkpointid);

if(checkpointid == evac){
   for(new i = 0; i < 5; i++){
       if(classifications[playerid][i] != 0)continue;
       classifications[playerid][i] += 1;
       TextDrawSetString(text_classification[i],PlayerName(playerid));
       break;
   }
}
Reply


Messages In This Thread
Textdraw List |Help| - by s0ZNIz - 02.12.2014, 20:50
Re: Textdraw List |Help| - by iiNzTicTx - 02.12.2014, 21:00
Re: Textdraw List |Help| - by s0ZNIz - 03.12.2014, 04:12
Re: Textdraw List |Help| - by Galletziz - 03.12.2014, 04:44
Re: Textdraw List |Help| - by s0ZNIz - 03.12.2014, 13:13
Re: Textdraw List |Help| - by s0ZNIz - 03.12.2014, 15:50
Re: Textdraw List |Help| - by Galletziz - 03.12.2014, 16:11
Re: Textdraw List |Help| - by s0ZNIz - 03.12.2014, 16:34
Re: Textdraw List |Help| - by Galletziz - 03.12.2014, 16:39
Re: Textdraw List |Help| - by s0ZNIz - 03.12.2014, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)