Raised This Month: $51 Target: $400
 12% 

[CS:GO] Lasermines 1.5.1


Post New Thread Reply   
 
Thread Tools Display Modes
bq123
Junior Member
Join Date: Jul 2016
Location: Romania
Old 08-02-2016 , 15:03   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #31

i can't really compile the file.I want to set that only admins can add lasermines and the maximum number per player should be 1 lasermine.Can you help me?
bq123 is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-02-2016 , 16:47   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #32

bq123, You tried to compile using SM1.6?
__________________
Grey83 is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-05-2016 , 15:58   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #33

Quote:
Originally Posted by Grey83 View Post
bq123, You tried to compile using SM1.6?
It's my mistake. I was used 1.9 SM build of some libs with old 1.8
ZASTRELIS is offline
usla
Senior Member
Join Date: Jul 2009
Old 08-31-2016 , 10:34   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #34

what piece of code do i require in order to add team restrictions ?
usla is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-31-2016 , 11:17   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #35

You need add team checking in public Action:Command_BuyMines(client, argc){...} and public Action:Command_PlantMine(client, argc){...}.

And in general if it is required to add restrictions for teams, then necessary to change a lot of code.
__________________
Grey83 is offline
usla
Senior Member
Join Date: Jul 2009
Old 08-31-2016 , 12:08   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #36

Quote:
Originally Posted by Grey83 View Post
You need add team checking in public Action:Command_BuyMines(client, argc){...} and public Action:Command_PlantMine(client, argc){...}.

And in general if it is required to add restrictions for teams, then necessary to change a lot of code.
thx but already did very simple with printed text also to chat
usla is offline
sHoC
Senior Member
Join Date: Nov 2015
Location: Italy
Old 11-13-2016 , 07:49   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #37

Quote:
Originally Posted by Grey83 View Post
You need add team checking in public Action:Command_BuyMines(client, argc){...} and public Action:Command_PlantMine(client, argc){...}.

And in general if it is required to add restrictions for teams, then necessary to change a lot of code.
hi I have a csgo zombie mod server, i want this plugin only for HUMANS, and when a human will be infected i want to change the color of lasermine from blue in red. could you make it for me please?
my english suck i know.
__________________
sHoC is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-13-2016 , 09:11   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #38

sHoC, need to hook events for this
IDK how hook this event in this mod
__________________
Grey83 is offline
sHoC
Senior Member
Join Date: Nov 2015
Location: Italy
Old 11-16-2016 , 12:16   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #39

Quote:
Originally Posted by Grey83 View Post
sHoC, need to hook events for this
IDK how hook this event in this mod
How about remove the mines after you will be infected
__________________
sHoC is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-16-2016 , 12:29   Re: [CS:GO] Lasermines 1.5.1
Reply With Quote #40

Quote:
Originally Posted by sHoC View Post
How about remove the mines after you will be infected
need add hook for this event
I don't have CS:GO server for testing.
__________________
Grey83 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode