AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Knife On Hud (https://forums.alliedmods.net/showthread.php?t=194829)

bidonas 08-31-2012 16:41

Knife On Hud
 
1 Attachment(s)
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

simanovich 09-01-2012 15:08

Re: Knife On Hud
 
In plugin_init:
PHP Code:

RegisterHamHam_Spawn"player""PlayerSpawn"); 

Problem solved

bidonas 09-01-2012 18:05

Re: Knife On Hud
 
1 Attachment(s)
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"

Torge 09-01-2012 18:09

Re: Knife On Hud
 
Try to add 'debug' after plugin name in your plugins.ini and you can ignore 'loose identation'.

bidonas 09-01-2012 18:23

Re: Knife On Hud
 
lol? i get this error when i try to compile the plugin

YamiKaitou 09-01-2012 18:28

Re: Knife On Hud
 
Change the encoding to UTF8 without BOM

bidonas 09-01-2012 18:31

Re: Knife On Hud
 
can translate into a english? :| i don't know what you say there :(

bidonas 09-01-2012 18:39

Re: Knife On Hud
 
nobody understand..
look at this photo and you will see what i want to say

http://zombie-mod.ru/uploads/posts/2...c6821a3c3b.jpg

Torge 09-01-2012 18:56

Re: Knife On Hud
 
Quote:

Originally Posted by bidonas (Post 1789043)
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'.

bidonas 09-01-2012 18:58

Re: Knife On Hud
 
omg man look on .sma file is added .but not work


All times are GMT -4. The time now is 08:12.

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