AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Admin commands help (https://forums.alliedmods.net/showthread.php?t=113292)

Reborn 12-25-2009 08:14

Admin commands help
 
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

Mxnn 12-25-2009 13:35

Re: Admin commands help
 
You can copy the stuff and put it in one.

Reborn 12-25-2009 15:36

Re: Admin commands help
 
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

fysiks 12-26-2009 17:07

Re: Admin commands help
 
Putting a slap into another function should be fairly easy. Post or link to the functions that you are trying to merge.


All times are GMT -4. The time now is 04:10.

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