Raised This Month: $ Target: $400
 0% 

CS don't acept my plugins...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-29-2009 , 03:24   CS don't acept my plugins...
Reply With Quote #1

somone make this for me:
PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

public plugin_init() {
    
register_plugin("test""1.0""Beancake12")
    
RegisterHam(Ham_Spawn"player""player_spawn"1)
}

public 
player_spawn(id) {
   new 
score get_user_frags(id) - get_user_deaths(id);
   if(
score >= 0)
      
set_user_health(id310 - (score*10))

but when i start cs with this file in sma and tme amxx, compiled file in plugin. and even i i try to write the file name in plugin.ini it wont work. what goes wrong?

i look at another code for only headshot and some others, but nobody write somthing that can help me.
</span></span>
timian is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-29-2009 , 03:30   Re: CS don't acept my plugins...
Reply With Quote #2

Start to see if the plugin is running : amxx list
__________________
Arkshine is offline
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-29-2009 , 17:54   Re: CS don't acept my plugins...
Reply With Quote #3

what do you mean? cand find amy files with that name, and can't find any console things about it?
timian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-29-2009 , 17:57   Re: CS don't acept my plugins...
Reply With Quote #4

In the server console type:

Code:
amxx list
__________________
fysiks is offline
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-29-2009 , 19:18   Re: CS don't acept my plugins...
Reply With Quote #5

22 plugins, 21 loaded

22 uknown,uknown,even, bad load
timian is offline
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-29-2009 , 19:24   Re: CS don't acept my plugins...
Reply With Quote #6

[IMG]http://img29.**************/img29/9813/consolen.th.jpg[/IMG]
timian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-29-2009 , 19:33   Re: CS don't acept my plugins...
Reply With Quote #7

Next time just copy all the text from your console (and put it in code tags) instead of making a picture.

That means that the file "even" cannot be opened as a .amxx file. You must put the full file name ending in ".amxx" in plugins.ini.
__________________
fysiks is offline
Jaden
Member
Join Date: Jun 2009
Old 06-29-2009 , 20:45   Re: CS don't acept my plugins...
Reply With Quote #8

That or it didnt compile right.
__________________
`Jaden.
Jaden is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-29-2009 , 23:30   Re: CS don't acept my plugins...
Reply With Quote #9

Quote:
Originally Posted by Jaden View Post
That or it didnt compile right.
Cant even get that far actually. It's looking for the file "even" which doesn't exist. It needs "even.amxx" or whatever it's called.
__________________
fysiks is offline
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-30-2009 , 05:32   Re: CS don't acept my plugins...
Reply With Quote #10

ahh i got it now!

but i i call my amxx file even the odds2. and i write the same in the bottom in plugin.ini, i just edit it fo even. but why is the plugin name only even and not even the odds?
timian 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 15:25.


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