SA-MP Forums Archive
[FilterScript] [FS] Sniper Privilege - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Sniper Privilege (/showthread.php?tid=130822)

Pages: 1 2


[FS] Sniper Privilege - ^Woozie^ - 28.02.2010

Script which shows distance to the purpose when you aim from a sniper rifle. Perhaps still I will make on others of the weapon.

Author: Psycho / Faus / Woozie
Length: 352
Last release: 0.3

What's new:
• No timers.
• Shows health and armour.
• Does your target aiming?
• Fixed 2 bugs




What's new in 0.3:

- Damage Indicator
- When you shoot player, playing sound






Download


Re: [FS] Sniper Privilegy (hot!) - MALISH - 28.02.2010

Very nice one fs , [TSA]Faus


Re: [FS] Sniper Privilegy (hot!) - [03]Garsino - 28.02.2010

Haha, nice work =D


Re: [FS] Sniper Privilegy (hot!) - MaykoX - 28.02.2010

Cool, very useful for TDM/DM Servers. I will use it for SURE.

Offtopic : Nice post count garsino


Re: [FS] Sniper Privilegy (hot!) - ^Woozie^ - 28.02.2010

updated, see first post.

AMSN - Above Mean Sea Level


Re: [FS] Sniper Privilegy (hot!) - aircombat - 28.02.2010

omg this is an awesome thing btw what i liked most (ping) cause sometimes players lag
________
Suzuki Ls650 Savage History


Re: [FS] Sniper Privilegy (hot!) - Flake. - 28.02.2010

very nice i think i will use this in my server :>


Re: [FS] Sniper Privilegy (hot!) - panther74 - 28.02.2010

Cool Thank you very much


Re: [FS] Sniper Privilegy (hot!) - Bomber - 28.02.2010

Realy nice, im gonna use this for some time.


Re: [FS] Sniper Privilegy (hot!) - ineoncore - 28.02.2010

It possible to make it useful for rp server
with some scripting skills
good job!


Re: [FS] Sniper Privilegy (hot!) - V1ceC1ty - 28.02.2010

Very nice.


Re: [FS] Sniper Privilegy (hot!) - MenaceX^ - 28.02.2010

Pastebin please.


Re: [FS] Sniper Privilegy (hot!) - ded - 28.02.2010

http://pastebin.com/hv2UaS0C


Re: [FS] Sniper Privilegy (hot!) - Noredine - 28.02.2010

Quote:
Originally Posted by » ραωпsтαг «
What's the AMSL ?

Code:
115.format(string,128,"~g~%s dist: ~r~%d m.~n~~b~Ping: ~r~%dms~n~~g~AMSL: ~r~%d m.~n~~b~Weapon: ~r~%s~p~(%d)",LOL(GetName(i)),floatround(GetDistanceBetweenPlayers(i,playerid)),GetPlayerPing
What's this LOL into the code ?


Re: [FS] Sniper Privilegy (hot!) - ded - 28.02.2010

pawn Code:
LOL(string[]) {
new result[256];
for (new i; i < 256; i++) {
switch(string[i]) {
case '[':result[i] = '(';
case ']':result[i] = ')';
default:result[i]=string[i];
}
}
return result;
}
Love the script like I said, but for real .. why .. WHY do you not indent? I never understand how people do it. No indentation FOR THE LOSE.



Re: [FS] Sniper Privilegy (hot!) - AcId n RaPiD - 01.03.2010

Looks nice.


Re: [FS] Sniper Privilegy (hot!) - Doppeyy - 01.03.2010

Omg super awesome work .
Keep up the good work.

[Doppeyy


Re: [FS] Sniper Privilegy (hot!) - Norn - 01.03.2010

Quote:
Originally Posted by Noredine
Quote:
Originally Posted by » ραωпsтαг «
What's the AMSL ?

Code:
115.format(string,128,"~g~%s dist: ~r~%d m.~n~~b~Ping: ~r~%dms~n~~g~AMSL: ~r~%d m.~n~~b~Weapon: ~r~%s~p~(%d)",LOL(GetName(i)),floatround(GetDistanceBetweenPlayers(i,playerid)),GetPlayerPing
What's this LOL into the code ?
It's a function.


Re: [FS] Sniper Privilegy (hot!) - s0nic - 01.03.2010

Quote:
Originally Posted by Noredine
Quote:
Originally Posted by » ραωпsтαг «
What's the AMSL ?

Code:
115.format(string,128,"~g~%s dist: ~r~%d m.~n~~b~Ping: ~r~%dms~n~~g~AMSL: ~r~%d m.~n~~b~Weapon: ~r~%s~p~(%d)",LOL(GetName(i)),floatround(GetDistanceBetweenPlayers(i,playerid)),GetPlayerPing
What's this LOL into the code ?
AMSL: Above Mean Sea Level

The LOL function:
What it does is change the [ ] to ( ) due to the fact that [ ] are stars or at least ] is..but yea, great script excluding indentation =p !


Re: [FS] Sniper Privilegy (hot!) - Lejo - 01.03.2010

Quote:
Originally Posted by » ραωпsтαг «
pawn Code:
LOL(string[]) {
new result[256];
for (new i; i < 256; i++) {
switch(string[i]) {
case '[':result[i] = '(';
case ']':result[i] = ')';
default:result[i]=string[i];
}
}
return result;
}
Love the script like I said, but for real .. why .. WHY do you not indent? I never understand how people do it. No indentation FOR THE LOSE.
I agree with you on that one. I don't see how people do it.