Raised This Month: $ Target: $400
 0% 

Need help with compile (error 100 - csgo plugin)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Di3Z1E
Member
Join Date: May 2018
Old 05-03-2018 , 23:11   Need help with compile (error 100 - csgo plugin)
Reply With Quote #1

Hello everyone,
I'm trying to make a simple plugin and don't know why it ain't compiling...

here's the code:

Code:
#pragma semicolon 1
#include <sourcemod>
#include <cstrike>
#include <colors>

public Plugin myinfo =
{
	name = "Supporter Help CMDs",
	author = "z4cH3r/Di3Z1E",
	description = "View your tier cmds by entering the folowing chat cmd",
	version = "1.0",
	url = "www.eserv.co.il"
};

public OnPluginStart()
{  
	RegAdminCmd("sm_scmd3", Commands3, ADMFLAG_SLAY);
	RegAdminCmd("sm_scmd2", Commands2, ADMFLAG_SLAY);
	RegAdminCmd("sm_scmd1", Commands1, ADMFLAG_KICK);
}

public Action Commands3(client)
{
		CPrintToChat(client, "{green}[eServ] \x01Available CMD's for Tier 3 is: {green}sm_slay\x01, {green}sm_mute\x01, {green}sm_beacon\x01, {green}sm_slay");
		return Plugin_Handled;
}

public Action Commands2(client)
{
		CPrintToChat(client, "{green}[eServ] \x01Available CMD's for Tier 2 is: {green}sm_slay\x01, {green}sm_mute\x01, {green}sm_beacon\x01, {green}sm_slay\x01, {green}sm_csay\x01/{green}psay\x01, {green}sm_rename\x01, {green}sm_votemap");
		return Plugin_Handled;
}
public Action Commands1(client)
{
		CPrintToChat(client, "{green}[eServ] \x01Available CMD's for Tier 1 is: {green}sm_slay\x01, {green}sm_mute\x01, {green}sm_beacon\x01, {green}sm_slay\x01, {green}sm_csay\x01/{green}psay\x01, {green}sm_rename\x01, {green}sm_votemap\x01, {green}sm_tsay");
		return Plugin_Handled;
}

Error:

Code:
 // C:\Users\πσπ\Desktop\Server\Source Mode\tier_cmds.sp(17) : error 100: function prototypes do not match
// C:\Users\πσπ\Desktop\Server\Source Mode\tier_cmds.sp(18) : error 100: function prototypes do not match
// C:\Users\πσπ\Desktop\Server\Source Mode\tier_cmds.sp(19) : error 100: function prototypes do not match
Any idea what's wrong with this code ?
Thank you for you'r help

Last edited by Di3Z1E; 05-03-2018 at 23:21.
Di3Z1E is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 05-04-2018 , 03:56   Re: Need help with compile (error 100 - csgo plugin)
Reply With Quote #2

Wrong forums
__________________
@Jailbreak Main Mod v2.7.0 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
Di3Z1E
Member
Join Date: May 2018
Old 05-04-2018 , 07:10   Re: Need help with compile (error 100 - csgo plugin)
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
Wrong forums
where then ?
Di3Z1E is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-04-2018 , 10:01   Re: Need help with compile (error 100 - csgo plugin)
Reply With Quote #4

Probably in the CS:GO forums?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 04:43.


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