Raised This Month: $ Target: $400
 0% 

Solved Level + flag


Post New Thread Reply   
 
Thread Tools Display Modes
1M1e
Member
Join Date: Mar 2020
Old 07-29-2021 , 13:33   Re: Level + flag
Reply With Quote #21

win32 addons/amxmodx/dlls/amxmodx_mm.dll
win32 addons/resemiclip/resemiclip_mm.dll

if you want meta list from console i cant copy it cuz i am using rehlds
1M1e is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-29-2021 , 13:42   Re: Level + flag
Reply With Quote #22

Print screen?
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
1M1e
Member
Join Date: Mar 2020
Old 07-29-2021 , 13:52   Re: Level + flag
Reply With Quote #23

https://ibb.co/sj88pQC
1M1e is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-29-2021 , 13:59   Re: Level + flag
Reply With Quote #24

Try using client_authorized(id) instead of client_putinserver
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
1M1e
Member
Join Date: Mar 2020
Old 07-29-2021 , 14:03   Re: Level + flag
Reply With Quote #25

did not work
1M1e is offline
1M1e
Member
Join Date: Mar 2020
Old 07-29-2021 , 14:05   Re: Level + flag
Reply With Quote #26

Quote:
Originally Posted by The overrated maniac View Post
PHP Code:

#include <amxmisc>
#include <crxranks>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init() {
register_plugin(PLUGINVERSIONAUTHOR)

register_event("HLTV""new_round""a""1=0""2=0");
}

public 
new_round(id)
{
if(
crxranks_get_user_level(id) >= 40)
{
SetVipFlag(id)
}

}

SetVipFlagid )
{
set_user_flagsidADMIN_LEVEL_H );
}

-------------------->

#include <amxmisc>
#include <crxranks>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
#define MAX_PLAYERS 32

public plugin_init() {
register_plugin(PLUGINVERSIONAUTHOR)

register_event("HLTV""new_round""a""1=0""2=0");
}

public 
new_round(id)
{
for(new 
0i<MAX_PLAYERSi++){
if(
crxranks_get_user_level(i) >= 40 && is_user_connected(i))
{
SetVipFlag(i)
}
}
}

SetVipFlagid )
{
set_user_flagsidADMIN_LEVEL_H );

this code works but when you said i don't recommend using that, i removed it
1M1e is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-29-2021 , 14:08   Re: Level + flag
Reply With Quote #27

Alright then use it if it works, i requested some debugging outputs and you didnt show anything if you're unable to provide debugging i am sorry to inform you i am no good for you.
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
1M1e
Member
Join Date: Mar 2020
Old 07-29-2021 , 14:16   Re: Level + flag
Reply With Quote #28

i tested it and it have no bugs ( For now )

For now Solved

Thanks for @Natsheh And @The overrated maniac

For helping

Last edited by 1M1e; 07-29-2021 at 14:18.
1M1e is offline
The overrated maniac
Member
Join Date: Jun 2021
Location: Argentina
Old 07-29-2021 , 15:36   Re: Level + flag
Reply With Quote #29

Quote:
Originally Posted by 1M1e View Post
this code works but when you said i don't recommend using that, i removed it
I know it all the time . ? .

Change it like Natsheh said, he was right the first condition must be if the player is online.

if(is_user_connected(i) && the other thing){
The overrated maniac is offline
Reply


Thread Tools
Display Modes

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 14:03.


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