Raised This Month: $ Target: $400
 0% 

Trigger AMXX functions without players or bots.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
4ever16
Veteran Member
Join Date: Apr 2015
Old 01-15-2020 , 23:20   Trigger AMXX functions without players or bots.
Reply With Quote #1

I have this line in a plugin.

PHP Code:
        client_printcolor(0"/y[/ctr%s/y] ^1[^4%s^1] TEST ^1[^4%s^1]",PREFIXget_admin_name(id), name); 
This line executes when a team captain chooses a team8.
So basicly i need minimum 3 players in the server to see this line.
1 T captain.
1 CT captain.
1 normal player.

When captains are chosen and 1 of them chooses normal player this line prints.
PHP Code:
        client_printcolor(0"/y[/ctr%s/y] ^1[^4%s^1] TEST ^1[^4%s^1]",PREFIXget_admin_name(id), name); 
I cannot test with bots.

So how can i trigger this command or action without actually having players on the server, just me?
4ever16 is offline
 



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 02:42.


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