24.07.2014, 13:35
You can show/hide a checkpoint (from streamer) by using Streamer_AppendArrayData and Streamer_RemoveArrayData functions.
An example:
An example:
pawn Code:
// you should hide any checkpoint before and then (supposing the first cp is shown) it hides the first cp and it shows the second
Streamer_RemoveArrayData(STREAMER_TYPE_CP, Checkpoint[0], E_STREAMER_PLAYER_ID, playerid);
Streamer_AppendArrayData(STREAMER_TYPE_CP, Checkpoint[1], E_STREAMER_PLAYER_ID, playerid);