Simple flashing color help
#7

Quote:
Originally Posted by Fantje
Посмотреть сообщение
What's wrong here:
PHP код:
forward FlashName(playerid);
public 
FlashName(playerid)
{
    new 
vFlash random(sizeof(ColorFlash));
    
SetPlayerColor(playeridColorFlash[vFlash]); // Replace the "COLOR" with your defined color.
    
return 1;

Nothing, as long as your array that contains all the colors is fine every time FlashName is called it'll set their name color.

If your timer repeats it'll work fine.
Reply


Messages In This Thread
Simple flashing color help - by Fantje - 16.07.2016, 16:59
Re: Simple flashing color help - by gurmani11 - 16.07.2016, 17:06
Re: Simple flashing color help - by WhiteGhost - 16.07.2016, 17:12
Re: Simple flashing color help - by Fantje - 16.07.2016, 17:13
Re: Simple flashing color help - by WhiteGhost - 16.07.2016, 17:17
Re: Simple flashing color help - by Fantje - 16.07.2016, 17:49
Re: Simple flashing color help - by Flake. - 16.07.2016, 20:06
Re: Simple flashing color help - by Fantje - 17.07.2016, 12:06
Re: Simple flashing color help - by Stinged - 17.07.2016, 12:19
Re: Simple flashing color help - by Fantje - 17.07.2016, 12:21

Forum Jump:


Users browsing this thread: 6 Guest(s)