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

Showing results 1 to 25 of 87
Search took 0.01 seconds.
Search: Posts Made By: shadow728988
Forum: Suggestions / Requests 01-01-2020, 10:55
Replies: 2
Views: 759
Posted By shadow728988
Re: custom votemap

Thank you
Forum: Suggestions / Requests 01-01-2020, 09:05
Replies: 2
Views: 759
Posted By shadow728988
custom votemap

can some one help me with a votemap plugin that will take vote based on players in the server
for eg. 1-8 players will have different maps
after 8 players some different maps
Forum: Scripting Help 01-01-2020, 03:27
Replies: 7
Views: 1,098
Posted By shadow728988
Re: Condition on cvar

No it wasnt working then but i made it work as i registered this cvar as initial value 0 and then used get_pcvar_num

public plugin_init()
{
cvar_race= register_cvat ("fl_on","0")
}
and...
Forum: Scripting Help 01-01-2020, 00:59
Replies: 7
Views: 1,098
Posted By shadow728988
Re: Condition on cvar

where am i wrong please help..
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>

new g_racePtr

public plugin_init() {
Forum: Scripting Help 12-31-2019, 23:03
Replies: 7
Views: 1,098
Posted By shadow728988
Condition on cvar

Suppose a plugin has a cvar which is turned on for eg. "bullet_dmg 1".
Is it possible to check this cvar in another plugin?
Like if bullet_dmg is 1 show a message to admin
Forum: Suggestions / Requests 12-26-2019, 01:35
Replies: 2
Views: 849
Posted By shadow728988
Forum: Suggestions / Requests 12-23-2019, 23:44
Replies: 2
Views: 849
Posted By shadow728988
Give random weapons at each respawn

I cant find the plugin that gave random weapons everytime a player would respawn...or there isn't any?
Thank you for your help
Forum: Suggestions / Requests 12-21-2019, 02:59
Replies: 1
Views: 721
Posted By shadow728988
DeathMatch race plugin needed

I think there was a plugin that was like if a player reaches certain score in DeathMatch he would be declared winner..
But i cant seem to find it
Thank you for your help
Forum: Scripting Help 11-17-2019, 09:53
Replies: 3
Views: 1,293
Posted By shadow728988
Re: client_connectex

yes,i understood got my hand on plugin that used this.Thank you
Forum: Suggestions / Requests 11-17-2019, 09:46
Replies: 8
Views: 1,369
Posted By shadow728988
Re: Read from a file

the ini file is created using readINI() yes?

but what does this do?
formatex(szConfig, charsmax(szConfig), "%s/YOURBANFILE.ini", szConfig)
Forum: Scripting Help 11-17-2019, 09:35
Replies: 3
Views: 1,293
Posted By shadow728988
client_connectex

forward client_connectex(id, const name[], const ip[], reason[128]);

can someone help me understand how to use this.. like using a example in a plugin
thank you.
Forum: Suggestions / Requests 11-17-2019, 09:08
Replies: 8
Views: 1,369
Posted By shadow728988
Read from a file

Hi, i was hoping if there is a way that when a player is connecting to server they get banned if their steam id is stored in a file or inside the plugin.I guess i know how to do but cant put it in...
Forum: Scripting Help 08-08-2019, 08:55
Replies: 8
Views: 1,267
Posted By shadow728988
Opening a menu

How can i make it so that only one admin at a time is able to access the menu from a plugin.
For eg.
public checkformenu(id)
{
if(menuopen==true)
{
client_print(id, "An admin is...
Forum: Suggestions / Requests 08-03-2019, 01:19
Replies: 0
Views: 1,175
Posted By shadow728988
Sound to MVP plugin

I was wondering if i could get some help in adding music to the player who wins the mvp of the round.
https://forums.alliedmods.net/showthread.php?t=237079.(using this)
Thank You
Forum: Scripting Help 07-13-2019, 09:35
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

Nah the initial request i dont want that now..just wanted to complete this little bit code for logging the players.. thank you :)
Forum: Scripting Help 07-13-2019, 00:33
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

#include <amxmodx>

new Trie:g_hLoggedPlayers;
new const g_szFileName[] = "NewPlayers.txt" //FileName for the log


public plugin_init()
{
g_hLoggedPlayers = TrieCreate();
}
Forum: Scripting Help 07-11-2019, 12:15
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

I wasn't the most brilliant student when they were teaching files in my C language class xD so i guess this is it for me.. thank you very much for all the help.
But still how will i check if it...
Forum: Scripting Help 07-11-2019, 09:09
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

i guess help me with this then please
public logplayers(id)
{
new szAuthID[32], szName[32];
get_user_name(id, szName, 31);
get_user_authid(id, szAuthID, charsmax(szAuthID));...
Forum: Scripting Help 07-11-2019, 05:41
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

what do you mean..doesnt this only logs the players steamid and name in a new file players.txt(already defined)?
Forum: Scripting Help 07-11-2019, 00:33
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

help me with this someone
Forum: Scripting Help 07-10-2019, 10:14
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

i did tried this but no luck.
Forum: Scripting Help 07-10-2019, 09:59
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

cant add all the 100 players you know..thank you for replying :)
Forum: Scripting Help 07-10-2019, 09:57
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

created the .ini file with my steam id in it..still kicks me
Forum: Scripting Help 07-10-2019, 03:59
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

also what can be the condition to not log duplicate names and authid if the player retries..currently this function sits in client_putinserver
public logplayers(id)
{
new szAuthID[32],...
Forum: Scripting Help 07-10-2019, 03:57
Replies: 26
Views: 3,387
Posted By shadow728988
Re: Read from a file

i havent tried it per se..but lets assume we have to files TeamA(steamids of its players) and TeamB(steamids of its players) in configs folder and only they will be allowed in the server, no other...
Showing results 1 to 25 of 87

 
Forum Jump

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


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