Raised This Month: $ Target: $400
 0% 

[INCORRECT TITLE] HELP ME FAST!!!!!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AlanSuljic
Junior Member
Join Date: Oct 2011
Old 11-19-2011 , 04:17   [INCORRECT TITLE] HELP ME FAST!!!!!
#1

HELLO!!!! I TRY TO COMPILE THIS BUT IT JUST WONT GO!!!
THIS ERROR ShOWS error 013: no entry point (no public functions)
PleASE TELL ME WHATS WRONG!!
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "MOTD"
#define VERSION "1.0"
#define AUTHOR "Massive Boredom"



public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("say /nagrada","motd")
register_clcmd("say_team /nagrada","motd")

register_cvar("Advertise","90")
set_task(get_cvar_float("Advertise"),"adverti se" , _ , _ , _ , "b")
}



public motd(id,level,cid)
{
new configsdir[200]
new MOTDfile[200]

get_configsdir(configsdir,199)
format(MOTDfile,199,"%s/motd/nagrada.html",configsdir)

show_motd(id,MOTDfile)

return PLUGIN_HANDLED
}
client_print(0,print_chat,"Kucaj /nagrada da vidite sta dobijaju prva 3 na ranku !")
return PLUGIN_HANDLED
}
AlanSuljic is offline
 



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


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