AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Some questions (https://forums.alliedmods.net/showthread.php?t=275949)

bruxo00 12-11-2015 12:30

Some questions
 
Hey! I'm new to sourcemod and I'm learning basic stuff.

I got some questions:

How do I create a menu that shows all players in the server? (example: ban menu on the default sourcemod admin menu).

How do I call a command with a parameter by the script?

Ex:

PHP Code:

else if (StrEqual(infoCHOICE2))
{
        
// Call the command sm_swagban ThisIsAPlayerName



redivcram 12-11-2015 13:54

Re: Some questions
 
You posted in AMX MOD X section

bruxo00 12-11-2015 14:14

Re: Some questions
 
Oh, didn't noticed :(

Some mod just delete it.


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

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