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

[CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)


Post New Thread Reply   
 
Thread Tools Display Modes
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 12-10-2016 , 16:56   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #41

Hi, (Kailo)
is there any possibility to add a native (I think) to check when a player press the button?
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 12-10-2016 , 19:26   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #42

Quote:
Originally Posted by Papero View Post
Hi, (Kailo)
is there any possibility to add a native (I think) to check when a player press the button?
Do you wanna get round timeleft when button was pressed (or doors were opened) in last round? I do not completely understand you.
Kailo is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 12-11-2016 , 05:00   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #43

An think like:
PHP Code:
public Action SJD_Press_Button(int client)
{
 
PrintAllToChat("[SM]%s pressed the button"client);

Now I dont know if it is the right format, add in .inc file a native (I think it is a native, i'm not good with includes) to track the player that pressed an SJDButton.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 12-11-2016 at 05:02.
Papero is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 01-05-2017 , 14:47   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #44

Quote:
Originally Posted by Papero View Post
An think like:
PHP Code:
public Action SJD_Press_Button(int client)
{
 
PrintAllToChat("[SM]%s pressed the button"client);

Now I dont know if it is the right format, add in .inc file a native (I think it is a native, i'm not good with includes) to track the player that pressed an SJDButton.
I added that you asked. Need to download latest sources from GitHub repo and compile for use.
PHP Code:
public void SJD_ButtonPressed(int client)
{
    
PrintAllToChat("[SM] %N pressed the button."client);


Last edited by Kailo; 01-05-2017 at 14:48.
Kailo is offline
nocheat
New Member
Join Date: Dec 2016
Old 01-08-2017 , 08:19   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #45

I seem to have a problem i have followed the installation guide but i cannot see any new config files created and i can't use the command sm_sjdhm it lists it as an unknown command.I can only do sjd at this point.

Last edited by nocheat; 01-08-2017 at 08:20.
nocheat is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 01-09-2017 , 05:30   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #46

Quote:
Originally Posted by nocheat View Post
I seem to have a problem i have followed the installation guide but i cannot see any new config files created and i can't use the command sm_sjdhm it lists it as an unknown command.I can only do sjd at this point.
Sound like newbie misstake in installation or wrong version.
Kailo is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 01-14-2017 , 12:15   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #47

Quote:
Originally Posted by Kailo View Post
I added that you asked. Need to download latest sources from GitHub repo and compile for use.
PHP Code:
public void SJD_ButtonPressed(int client)
{
    
PrintAllToChat("[SM] %N pressed the button."client);

Thanks for adding it but it in the include file shouldn't be like this:
Code:
forward void SJD_ButtonPressed(int caller, int activator);
I did this but in chat dont print anythink
PHP Code:
public void SJD_ButtonPressed(int client)
{
    
PrintToChatAll("[SM] %N pressed the button."client);

__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 02-05-2017 , 19:18   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #48

Hi there ! I tried to know who press the cell jail button, but i don't know how :s i know that MyJailBreak can do it, but i don't know what to do
fraise is offline
snoopy174
Member
Join Date: May 2016
Old 04-06-2017 , 15:10   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #49

L 04/07/2017 - 00:07:02: [SM] [0] CreateEntityByName
L 04/07/2017 - 00:07:02: [SM] [1] Line 731, smartjaildoors.sp::CreateButton
L 04/07/2017 - 00:07:02: [SM] [2] Line 786, smartjaildoors.sp::SpawnButtonsOnRoundStart
L 04/07/2017 - 00:07:02: [SM] [4] Call_Finish
L 04/07/2017 - 00:07:02: [SM] [5] Line 704, smartjaildoors.sp::ExecuteButtons
L 04/07/2017 - 00:07:02: [SM] [6] Line 143, smartjaildoors.sp::OnPluginStart
snoopy174 is offline
Send a message via Skype™ to snoopy174
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 04-07-2017 , 12:59   Re: [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
Reply With Quote #50

Quote:
Originally Posted by snoopy174 View Post
L 04/07/2017 - 00:07:02: [SM] [0] CreateEntityByName
L 04/07/2017 - 00:07:02: [SM] [1] Line 731, smartjaildoors.sp::CreateButton
L 04/07/2017 - 00:07:02: [SM] [2] Line 786, smartjaildoors.sp::SpawnButtonsOnRoundStart
L 04/07/2017 - 00:07:02: [SM] [4] Call_Finish
L 04/07/2017 - 00:07:02: [SM] [5] Line 704, smartjaildoors.sp::ExecuteButtons
L 04/07/2017 - 00:07:02: [SM] [6] Line 143, smartjaildoors.sp::OnPluginStart
This is not full error log, it just stack trace. One line before says that wrong.

Last edited by Kailo; 04-07-2017 at 12:59.
Kailo 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 16:27.


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