[FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
El0vric - 08.02.2008
What is this?
It's a function with timer which will set player's color from color1 to color2 and from color2 to color1 every second.
Example:
pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerBlipColor(playerid, 1000, 0xFFFFFFAA, 0xFF0000AA);
return 1;
}
Functions:
Code:
SetPlayerBlipColor(playerid, delay, color1, color2);
SetPlayerBlipColorForAll(delay, color1, color2);
۞ Download v1.0
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
eldiablo1337 - 08.02.2008
Kind of a 'flash' marker?
Nice done, although, wont it make bugs, timer for each player who uses, in every second.
EDIT:
Quote:
Originally Posted by Correlli
It's a function
|
And in the file, deleting all use'less lines you done, and the FS Init / Exit,
It'd take way less lines, which can be a simple function posted in the functions topic,
And not as a filter script, but as i said, nice anyway, you could change the function name to
FlashPlayer(), FlashPlayerEx(). // Ex == for all..
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
El0vric - 08.02.2008
Quote:
Originally Posted by eldiablo1337
Kind of a 'flash' marker?
Nice done, although, wont it make bugs, timer for each player who uses, in every second.
|
Something like that. I didn't had chance to test on much players, i only tested on myself and it worked normal.
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
eldiablo1337 - 08.02.2008
Please re - read my first post, i've edited it.
Anyway, setting the function to your self only, won't cause any lags,
But using a private timer for each player which has a
LOOP (reapet)
Will cause lags.
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
[LDT]LuxurY - 08.02.2008
mmm.... nice Corelli! :P may be pastebin link? rapidshare is too busy
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
El0vric - 08.02.2008
Quote:
Originally Posted by eldiablo1337
Please re - read my first post, i've edited it.
Anyway, setting the function to your self only, won't cause any lags,
But using a private timer for each player which has a LOOP (reapet)
Will cause lags.
|
I know, i don't need anyone to teach me some things, thanks. I just though it's useful for some players, if you don't want to use it --> don't use it.
pastebin.com link
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
eldiablo1337 - 08.02.2008
You have any function to disable the flesh when it has already started?
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
[LDT]LuxurY - 08.02.2008
Quote:
Originally Posted by Correlli
Quote:
Originally Posted by eldiablo1337
Please re - read my first post, i've edited it.
Anyway, setting the function to your self only, won't cause any lags,
But using a private timer for each player which has a LOOP (reapet)
Will cause lags.
|
I know, i don't need anyone to teach me some things, thanks. I just though it's useful for some players, if you don't want to use it --> don't use it.
pastebin.com link
|
thanks. nice coded! it's like gang zone flash :P
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
El0vric - 08.02.2008
Quote:
Originally Posted by eldiablo1337
You have any function to disable the flesh when it has already started?
|
No, but good idea. I'll add it in the next version.
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
-Sneaky- - 08.02.2008
Cool, you could do this:
Code:
public BlipFunc(playerid, color1, color2)
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerColor(playerid) == color1)
{
SetPlayerColor(playerid, color2);
}
else if(GetPlayerColor(playerid) == color2)
{
SetPlayerColor(playerid, GetPlayerColor(playerid) | 0x000000FF);
}
}
return 0;
}
---
Code:
SetPlayerColor(playerid, GetPlayerColor(playerid) | 0x000000FF);
Makes the color invisble^, so it wil flash the players color (lets say yellow) every second ^^, instead of flashing 2 different colors
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
El0vric - 08.02.2008
Nice, but i though 2 colors. Like blue-red for police team for example.
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
-Sneaky- - 08.02.2008
Quote:
Originally Posted by Correlli
Nice, but i though 2 colors. Like blue-red for police team for example.
|
Yea, good idea
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
El Burro - 08.02.2008
Hey nice, very handy
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
snipe69 - 08.02.2008
very nice men i think i will use this
Re: [FS] ۞ Blip filterscript v1.0 ۞ (8.2.2008) -
matko.basket - 29.05.2009
..pppllssss for reuplod it can be nice script by i dinґt download this....and i neeed this som much ..pls reupload