Raised This Month: $ Target: $400
 0% 

Admin commands help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Reborn
Junior Member
Join Date: Oct 2009
Old 12-25-2009 , 08:14   Admin commands help
Reply With Quote #1

I want to know how to combine two already existing admin commands (lets say amx_slap and amx_ss) in another one (lets say amx_ha) that does what the first two do. More precise when i use amx_ha it slaps the player and make a screenshot. Thank you in advice
Reborn is offline
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 12-25-2009 , 13:35   Re: Admin commands help
Reply With Quote #2

You can copy the stuff and put it in one.
Mxnn is offline
Reborn
Junior Member
Join Date: Oct 2009
Old 12-25-2009 , 15:36   Re: Admin commands help
Reply With Quote #3

its not like copying if it were that easy ... its defining a new function and making it call the other functions, from what i saw here. if anyway can make a code and show me i will be forever gratefull
Reborn is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-26-2009 , 17:07   Re: Admin commands help
Reply With Quote #4

Putting a slap into another function should be fairly easy. Post or link to the functions that you are trying to merge.
__________________
fysiks 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 04:10.


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