AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Solved ServerCommand @t and @ct not working!!! (https://forums.alliedmods.net/showthread.php?t=319348)

alierenbaspinar 10-26-2019 07:37

ServerCommand @t and @ct not working!!!
 
In my plugin ServerCommand("sm_hp @ct 1000"); not working, ServerCommand("sm_hp AliEren 1000") working but server is not see @ pls help me. :rtfm::rtfm:

nosoop 10-29-2019 13:15

Re: ServerCommand @t and @ct not working!!!
 
Yeah, you'll probably want to do some RTFM-ing yourself.

To assist you better, you'll need to tell us which plugin provides sm_hp, as that's not a command provided in a default SourceMod installation.
It's probable that the plugin just doesn't use ProcessTargetString to apply the command to multiple targets.

alierenbaspinar 10-30-2019 05:00

Re: ServerCommand @t and @ct not working!!!
 
Quote:

Originally Posted by nosoop (Post 2671335)
Yeah, you'll probably want to do some RTFM-ing yourself.

To assist you better, you'll need to tell us which plugin provides sm_hp, as that's not a command provided in a default SourceMod installation.
It's probable that the plugin just doesn't use ProcessTargetString to apply the command to multiple targets.

I'm using advcommands.
This plugin : https://forums.alliedmods.net/showthread.php?p=2438705

Marttt 10-30-2019 11:26

Re: ServerCommand @t and @ct not working!!!
 
I recommend posting to the related plugin topic so people can help you more easily.

I checked the plugin and looks like it's already using the "ProcessTargetString" as @nosoop commented.

So you can specify which error are you having?
Is displaying "Invalid target" or the sm_hp/sm_health just don't work?
Also, are you using the plugin's latest version and running into a CSGO server?

alierenbaspinar 10-30-2019 17:43

Re: ServerCommand @t and @ct not working!!!
 
Quote:

Originally Posted by Marttt (Post 2671413)
I recommend posting to the related plugin topic so people can help you more easily.

I checked the plugin and looks like it's already using the "ProcessTargetString" as @nosoop commented.

So you can specify which error are you having?
Is displaying "Invalid target" or the sm_hp/sm_health just don't work?
Also, are you using the plugin's latest version and running into a CSGO server?

Cs: GO server,
The server does not respond to the @t and @ct commands.
I solved the problem by installing the old version of the advcommand plugin. Thanks for your attention.


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

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