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

plugin not work at the server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
husam124
BANNED
Join Date: Jul 2017
Location: Usa
Old 05-08-2019 , 08:59   plugin not work at the server
Reply With Quote #1

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <dproto>
#include <fun>
#include <cstrike>
#include <engine>
#include <colorchat>

new pcvar_money
new pcvar_adminmoney

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Husam"
#define servertag "^3[^4Steam Bonus^3]"



public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	pcvar_money = register_cvar("nuh_money", "5000")
	pcvar_money = register_cvar("nuh_adminmoney", "10000")
	
}

public playerconnect(id)
{
	if(is_user_connected(id) && is_user_steam(id) && is_user_admin(id))
	{
		new name[33]
		get_user_name(id,name,32)
		cs_get_user_money(id)
		cs_set_user_money(id,cs_get_user_money(id) + pcvar_adminmoney)
		ColorChat(id,NORMAL,"%s you got %d for using cs steam",servertag,name,pcvar_money)
		ColorChat(0,NORMAL,"%s Admin %s got %d for using cs steam",servertag,name,pcvar_adminmoney)
	}
	else if(is_user_connected(id) && is_user_steam(id))
	{
		new name[33]
		get_user_name(id,name,32)
		cs_get_user_money(id)
		cs_set_user_money(id,cs_get_user_money(id) + pcvar_money)
		ColorChat(id,NORMAL,"%s you got %d for using cs steam",servertag,name,pcvar_money)
		ColorChat(0,NORMAL,"%s Player %s got %d for using cs steam",servertag,name,pcvar_money)
	}
	return PLUGIN_HANDLED;
}
its like not work on server i need it for my knife server
husam124 is offline
Send a message via ICQ to husam124 Send a message via AIM to husam124 Send a message via Yahoo to husam124 Send a message via Skype™ to husam124
raizo11
BANNED
Join Date: Dec 2013
Location: https://t.me/pump_upp
Old 05-08-2019 , 09:06   Re: plugin not work at the server
Reply With Quote #2

read this : https://forums.alliedmods.net/misc.php?do=showrules
raizo11 is offline
Send a message via ICQ to raizo11 Send a message via AIM to raizo11 Send a message via MSN to raizo11 Send a message via Yahoo to raizo11 Send a message via Skype™ to raizo11
husam124
BANNED
Join Date: Jul 2017
Location: Usa
Old 05-08-2019 , 09:17   Re: plugin not work at the server
Reply With Quote #3

Quote:
Originally Posted by raizo11 View Post
i asked for help so i dont know if their is exist answer so if you know someone solved this problem on some topic then put the link.
or if you know what is the problem then post the error - fix.
husam124 is offline
Send a message via ICQ to husam124 Send a message via AIM to husam124 Send a message via Yahoo to husam124 Send a message via Skype™ to husam124
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 05-08-2019 , 09:48   Re: plugin not work at the server
Reply With Quote #4

Quote:
Originally Posted by rules
Steam Cracks

You do not need to own the game on Steam to participate in these forums. However, publicizing violations of the Digital Millennium Copyright Act (DMCA) will result in a ban. This includes...
Linking to sites that are targeted toward cracking Steam or circumventing its copyright protection.
Asking for support against cracked or illegitimate versions of Steam, either directly or via evidence in your request.
Mentioning that you, or promoting the act of, cracking Steam or circumventing its copyright protection.
Quote:
Originally Posted by husam124
#include <dproto>
Read the underlined rules again. Obviously you did not read them after raizo linked you to them.
__________________


Last edited by Mordekay; 05-08-2019 at 09:49.
Mordekay is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-08-2019 , 12:30   Re: plugin not work at the server
Reply With Quote #5

Quote:
Originally Posted by husam124 View Post
i asked for help so i dont know if their is exist answer so if you know someone solved this problem on some topic then put the link.
or if you know what is the problem then post the error - fix.
What exactly not work?
Any log error?

Include dproto remove it i guess never seen it before
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-08-2019 , 17:42   Re: plugin not work at the server
Reply With Quote #6

Quote:
Originally Posted by Fuck For Fun View Post
Include dproto remove it i guess never seen it before
I guess you have never seen CS servers before. Same applies to you - read the rules.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 20:44.


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