Raised This Month: $ Target: $400
 0% 

Help me with this please...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-16-2005 , 11:55  
Reply With Quote #3

It wont compile...can u plz fix my code?

I dont know...it wouldnt compile, then i included cstrike and it didnt show any errors, but then it only said

Quote:
Your plugin failed to compile! Read the errors below:




Plugin short name:
#include <amxmisc>
#include <amxmodx>
#include <cstrike>

public client_putinserver(id)
{
if(!(get_user_flags(id) & ADMIN_RESERVATION))
return PLUGIN_CONTINUE

new UserName[33]
get_user_name(id, UserName, 32)
new message[64] format(message,63,"%s has joined the game!",UserName)
set_hudmessage(100, 100, 100, 0.7, 0.02, 0, 6.0, 12.0, 1.0, 1.0, 1) show_hudmessage(0,message)
}
public client_disconnect(id)
{
new UserName[33]
get_user_name(id, UserName, 32)
new message[64] format(message,63,"%s has left the game!",UserName)
set_hudmessage(100,100,100, 0.7, 0.06, 0, 6.0, 12.0, 1.0, 1.0, 1) show_hudmessage(0,message)
}
public plugin_init()
{
register_plugin("Admin-Connect-Disconnect","1.0","cTn Edit by SweatyBanana") }

return PLUGIN_CONTINUE;
}
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
 



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 16:08.


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