Raised This Month: $51 Target: $400
 12% 

Sitting Kick PLUGIN Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fighterzaka
Member
Join Date: Mar 2006
Old 10-13-2006 , 06:53   Sitting Kick PLUGIN Help
Reply With Quote #1

Can someone make me a plugin they do when a Player Sit "Ctrl" so he get Kicked

Someone they can create that for me ? and maybe other
I had searched for it if it already created please direct Link THX

Fighter
Fighterzaka is offline
Send a message via MSN to Fighterzaka
Rolnaaba
Veteran Member
Join Date: May 2006
Old 10-13-2006 , 10:25   Re: Sitting Kick PLUGIN Help
Reply With Quote #2

probably something like
Code:
#include <engine> if(get_user_button(id) == "ctrl") { //blah blah }
but not sure if ctrl is the correct thing to say might be crouch or something
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Fighterzaka
Member
Join Date: Mar 2006
Old 10-13-2006 , 13:47   Re: Sitting Kick PLUGIN Help
Reply With Quote #3

Thank you mate But compile is like this

Code:
//// skick.sma // C:\Programmer\hlserver\cstrike\addons\amxmodx\scripting\include.inc<16> : error 017: undefined symbol "AMXX_VERSION_NUM" // C:\Programmer\hlserver\cstrike\addons\amxmodx\scriptingskick.sma<2> : error 010 invalid function or declaration // C:\Programmer\hlserver\cstrike\addons\amxmodx\scriptingskick.sma<4> : error 054 unmatched closing brace // C:\Programmer\hlserver\cstrike\addons\amxmodx\scriptingskick.sma<4> : error 013: no entry point <no public functions> // // 4 Errors. // Could not locate output file compiled\skick.amx <compile failed>. // // Compilation Time: 0,09 sec // ----------------------------------------

Last edited by Fighterzaka; 10-13-2006 at 14:12.
Fighterzaka is offline
Send a message via MSN to Fighterzaka
Fighterzaka
Member
Join Date: Mar 2006
Old 10-13-2006 , 13:57   Re: Sitting Kick PLUGIN Help
Reply With Quote #4

Hehe its dont work i need the actiopn also the what happen
This you gave me is just a "if" can you give me "what happen"
Fighterzaka is offline
Send a message via MSN to Fighterzaka
z0nax
Member
Join Date: Mar 2006
Location: Denmark | In my dark roo
Old 10-13-2006 , 14:35   Re: Sitting Kick PLUGIN Help
Reply With Quote #5

Ehm, i dont think that Fighterzaka's "plugin" work, you have to add a kick function (Or what? )

Btw, dont spam your post's somone will see it, and give you the answer
__________________
- ZoNaX^
http://forums.alliedmods.net/faq.php...b_board_search
Offering free help to install:
AMXx, Plugins, Adding Admins.
The most general things to know.
PM me.
z0nax is offline
Send a message via MSN to z0nax
Fighterzaka
Member
Join Date: Mar 2006
Old 10-13-2006 , 16:15   Re: Sitting Kick PLUGIN Help
Reply With Quote #6

Yes i need a kick finction

but can anyone make me the full complet plugin i think its easy for you guyz
Fighterzaka is offline
Send a message via MSN to Fighterzaka
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-13-2006 , 16:44   Re: Sitting Kick PLUGIN Help
Reply With Quote #7

Code:
#include <amxmodx>
#include <engine>

public plugin_init()
    register_plugin("Crouch Kick","1.0","Hawk552")

public client_PreThink(id)
    if(entity_get_int(id,EV_INT_button) & IN_DUCK)
        server_cmd("kick #%d Do not crouch.",get_user_userid(id))
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Fighterzaka
Member
Join Date: Mar 2006
Old 10-14-2006 , 05:34   Re: Sitting Kick PLUGIN Help
Reply With Quote #8

Its dont work when i compile it it says:

Code:
//// skick.sma // C\Programmer\hlserver\cstrike\addons\amxmodx\scripting\include\engine.inc<16> : error 017: undefined symbol "AMXX_VERSION_NUM" // C\Programmer\hlserver\cstrike\addons\amxmodx\scripting\skick.sma<9> : error 010: invalid function or declaration // C\Programmer\hlserver\cstrike\addons\amxmodx\scripting\skick.sma<11> : error 054: unmatched closing brace // // 3 Errors. // Could not locate output file compiled\skick.amx <compile failed>. // / Compilation Time: 0,12 sec // -------------------------------------

It saying that are you sure u making it for amxmodx ?
Or what is the proplem i dont think there is proplem with me i can compile any other thart works sure

Help me anyone
Fighterzaka is offline
Send a message via MSN to Fighterzaka
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-14-2006 , 10:48   Re: Sitting Kick PLUGIN Help
Reply With Quote #9

Quote:
Originally Posted by Fighterzaka View Post
Its dont work when i compile it it says:

Code:
//// skick.sma // C\Programmer\hlserver\cstrike\addons\amxmodx\ scripting\include\engine.inc<16> : error 017: undefined symbol "AMXX_VERSION_NUM" // C\Programmer\hlserver\cstrike\addons\amxmodx\ scripting\skick.sma<9> : error 010: invalid function or declaration // C\Programmer\hlserver\cstrike\addons\amxmodx\ scripting\skick.sma<11> : error 054: unmatched closing brace // // 3 Errors. // Could not locate output file compiled\skick.amx <compile failed>. // / Compilation Time: 0,12 sec
// -------------------------------------



It saying that are you sure u making it for amxmodx ?
Or what is the proplem i dont think there is proplem with me i can compile any other thart works sure

Help me anyone
Err... it looks like you modified your engine.inc or something... download the AMXX 1.76a scripting files, and if you aren't running it, upgrade to it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Fighterzaka
Member
Join Date: Mar 2006
Old 10-14-2006 , 14:42   Re: Sitting Kick PLUGIN Help
Reply With Quote #10

Thanks! that was the proplem +1 Karma to you
Fighterzaka is offline
Send a message via MSN to Fighterzaka
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 01:49.


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