Raised This Month: $ Target: $400
 0% 

Basic program PrintToChat doesn't compile


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bouclier
Junior Member
Join Date: Jun 2015
Old 06-15-2015 , 18:14   Basic program PrintToChat doesn't compile
Reply With Quote #1

Hi sorry for my question, I was just wondering why this program didn't work
Code:
#include <sdktools>
#include <sourcemod>

public OnPluginStart()
{
    
}

public OnClientConnected(client);
{
    
PrintToChat(client, "Hi");
   
}
I'm using sourcemod 1.7 thank you for your answers
bouclier is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 06-15-2015 , 18:39   Re: Basic program PrintToChat doesn't compile
Reply With Quote #2

You left a semicolon after public OnClientConnected(client)
__________________
pheadxdll is offline
bouclier
Junior Member
Join Date: Jun 2015
Old 06-15-2015 , 19:07   Re: Basic program PrintToChat doesn't compile
Reply With Quote #3

sorry for my stupid question;-; and thank you for your answer

Last edited by bouclier; 06-15-2015 at 19:08.
bouclier 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 10:10.


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