12.12.2016, 20:06
So, movie stripes. I had some plans with this, but I changed my mind, so I'm releasing it. Hope someone finds some use of this.
Example with moving stripes (video):
If you want to do the same thing - have a moving stripes like in the video - then use a timer with foreach loop of players who are viewing the stripes. There is no need to loop through all players, even in foreach. You can learn how to create, add and remove iterators in this or/and this topic. It's best if you use timer interval with 1000 or more miliseconds.
Functions:
Download:
http://pastebin.com/KZdWHg4y
Example with moving stripes (video):
If you want to do the same thing - have a moving stripes like in the video - then use a timer with foreach loop of players who are viewing the stripes. There is no need to loop through all players, even in foreach. You can learn how to create, add and remove iterators in this or/and this topic. It's best if you use timer interval with 1000 or more miliseconds.
Functions:
Code:
CreateStripes(playerid, Float:offset = 0.0); DestroyStripes(playerid); MoveStripes(playerid);
http://pastebin.com/KZdWHg4y