Raised This Month: $ Target: $400
 0% 

Knife On Hud


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bidonas
Senior Member
Join Date: Aug 2012
Location: Romania
Old 08-31-2012 , 16:41   Knife On Hud
Reply With Quote #1

i have some problem whit one plugin i want to apear one menu for to chose knife .but is not running apare only when you write /knife.. somebody know what to do?
.sma Attach
Attached Files
File Type: sma Get Plugin or Get Source (zp_knife_mod_v6.sma - 611 views - 7.6 KB)
bidonas is offline
Send a message via Yahoo to bidonas
Old 09-01-2012, 07:53
bidonas
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 09-01-2012 , 15:08   Re: Knife On Hud
Reply With Quote #2

In plugin_init:
PHP Code:
RegisterHamHam_Spawn"player""PlayerSpawn"); 
Problem solved
__________________
simanovich is offline
bidonas
Senior Member
Join Date: Aug 2012
Location: Romania
Old 09-01-2012 , 18:05   Re: Knife On Hud
Reply With Quote #3

is not running when i compile i get a error


p_knife_mod_v6.sma(1) : error 010: invalid function or declaration
zp_knife_mod_v6.sma(54) : error 017: undefined symbol "registerHam"
Attached Files
File Type: sma Get Plugin or Get Source (zp_knife_mod_v6.sma - 539 views - 7.6 KB)

Last edited by bidonas; 09-01-2012 at 18:18.
bidonas is offline
Send a message via Yahoo to bidonas
Torge
Veteran Member
Join Date: Oct 2011
Old 09-01-2012 , 18:09   Re: Knife On Hud
Reply With Quote #4

Try to add 'debug' after plugin name in your plugins.ini and you can ignore 'loose identation'.
Torge is offline
bidonas
Senior Member
Join Date: Aug 2012
Location: Romania
Old 09-01-2012 , 18:23   Re: Knife On Hud
Reply With Quote #5

lol? i get this error when i try to compile the plugin
bidonas is offline
Send a message via Yahoo to bidonas
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-01-2012 , 18:28   Re: Knife On Hud
Reply With Quote #6

Change the encoding to UTF8 without BOM
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
bidonas
Senior Member
Join Date: Aug 2012
Location: Romania
Old 09-01-2012 , 18:31   Re: Knife On Hud
Reply With Quote #7

can translate into a english? i don't know what you say there
bidonas is offline
Send a message via Yahoo to bidonas
Old 09-01-2012, 18:32
SpaceRip
This message has been deleted by SpaceRip. Reason: useless
bidonas
Senior Member
Join Date: Aug 2012
Location: Romania
Old 09-01-2012 , 18:39   Re: Knife On Hud
Reply With Quote #8

nobody understand..
look at this photo and you will see what i want to say

bidonas is offline
Send a message via Yahoo to bidonas
Torge
Veteran Member
Join Date: Oct 2011
Old 09-01-2012 , 18:56   Re: Knife On Hud
Reply With Quote #9

Quote:
Originally Posted by bidonas View Post
is not running when i compile i get a error


p_knife_mod_v6.sma(1) : error 010: invalid function or declaration
zp_knife_mod_v6.sma(54) : error 017: undefined symbol "registerHam"
Sorry. Add #include <hamsandwich> to plugin and make sure that it's 'RegisterHam'.
Torge is offline
bidonas
Senior Member
Join Date: Aug 2012
Location: Romania
Old 09-01-2012 , 18:58   Re: Knife On Hud
Reply With Quote #10

omg man look on .sma file is added .but not work
bidonas is offline
Send a message via Yahoo to bidonas
Old 09-01-2012, 19:06
SpaceRip
This message has been deleted by SpaceRip. Reason: Reason
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 08:12.


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