[CSS] Laser Aim
2 Attachment(s)
Name:
Laser AimDescription: Creates A Beam For every times when a Snipers Rifle in armsChangelogs:
Spoiler
CVars: PHP Code:
|
Re: Laser Aim
very nice man
|
Re: [CSS] Laser Aim
Sweet... is this possible for Insurgency maybe? Would love it!
|
Re: [CSS] Laser Aim
Hey I tried modifying your plugin to show lasers for only Marines team at the moment for INS, but with no luck, it compiled and all but it just didn't show any lasers, would you know why?
Here is the source http://pastebin.com/m76bc3364 |
Re: [CSS] Laser Aim
maybe weapon names is incorrect?
in CSS this is weapon_* and check, do you need <player team>? |
Re: [CSS] Laser Aim
I don't believe that it is weapon_ in Insurgency. But the team numbers do switch depending on the map. It goes like this...
Code:
public OnMapStart() |
Re: [CSS] Laser Aim
Unfortunately, I dont know what is it "Insurgency" ^_^
but try to use function OnMapSpawn. for checking on every rounds before event round_start. and.... maybe not "strcmp", but this: StrContains(string_a ,string_b)>=-1 and for "menu" should use ConCommands, for example, "+toggleLaser"/"-toggleLaser". personal setting must be in arrays... for example: new PlayerSettings[<clientID>][<settingID>][<lengthOfSettingsValue>] and can anyone say, whats wrong here? Code:
g_CvarWeapons = CreateConVar("sm_laser_aim_weapons", "weapon_awp|weapon_scout", "List of weapons", FCVAR_NOTIFY); Code:
new bool:b_playerNeededWeapon; Code:
stock str_piece(input[], output[][], outputsize, piecelen, token = '|') |
Re: [CSS] Laser Aim
Quote:
If after you compile that code everyone suddenly has lasers, then you did something wrong with the if statement. If noone still has lasers, then this code just won't work for ins and you'll have to rewrite parts. |
Re: [CSS] Laser Aim
Quote:
If this was not where you where going for, ignore me :p |
Re: [CSS] Laser Aim
in some ES script I found this:
Code:
es_xsetinfo gunlist "awp" |
All times are GMT -4. The time now is 12:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.