Raised This Month: $ Target: $400
 0% 

Solved [CSGO]How i can write plugin which will turn of and on plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 01-28-2023 , 15:51   Re: [CSGO]How i can write plugin which will turn of and on plugin
Reply With Quote #1

One last simple question, can you change so that if a Player types a command who has Vip "Custom1" and types the command !sm_thunder so that only he sees this effect? is it possible?
Danielej1 is offline
Alex Taylor
Junior Member
Join Date: Jan 2023
Location: Hungary
Old 01-29-2023 , 05:29   Re: [CSGO]How i can write plugin which will turn of and on plugin
Reply With Quote #2

Quote:
Originally Posted by Danielej1 View Post
One last simple question, can you change so that if a Player types a command who has Vip "Custom1" and types the command !sm_thunder so that only he sees this effect? is it possible?
U can make it easily.

First make dimension to the global bool with false default value, like that:
Code:
 bool bIsPluginOn[MAXPLAYERS + 1] = { false, ...};
After you've done this, from now on you have to write "iClient" after every bool and use it like that.

But with the "freezetime_end" event, everyone will see it, because you either have to solve it in a different way, or delete the whole thing.

If you have any questions, feel free to contact me on Discord, I'll help. | Alex Taylor#1988 |

Sorry for my really, really bad english.

EDIT: You need to use !thunder command, not !sm_thunder !
Attached Files
File Type: sp Get Plugin or Get Source (lightingpowerEDITED.sp - 131 views - 3.5 KB)
__________________
if ( me.IsAlive() )
{
me.Coding();
}
[HUN] Taylor'sense Server Group Owner
Discord Community>| https://discord.com/invite/njumUg3 |
Discord Name>| Alex Taylor#1988 |

Last edited by Alex Taylor; 01-29-2023 at 05:30.
Alex Taylor 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 03:24.


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