Raised This Month: $ Target: $400
 0% 

Client on connect open menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hardboy
Member
Join Date: Jun 2014
Location: Greece
Old 11-21-2014 , 13:08   Re: Client on connect open menu
Reply With Quote #1

Code:
#include <amxmodx>
#unclude <functions>

public plugin_init() {
	register_plugin("connect", "1.0", "hardboy")
}

public client_putinserver(id)
{
	client_cmd(id, "menusurf")
}
this?
You can script this?
i dont remember this...
hardboy is offline
plazma
Senior Member
Join Date: Oct 2013
Old 11-21-2014 , 13:35   Re: Client on connect open menu
Reply With Quote #2

Quote:
Originally Posted by hardboy View Post
Code:
#include <amxmodx>
#unclude <functions>

public plugin_init() {
    register_plugin("connect", "1.0", "hardboy")
}

public client_putinserver(id)
{
    client_cmd(id, "menusurf")
}
this?
You can script this?
i dont remember this...

PHP Code:
#include <amxmodx>
#unclude <functions>

public plugin_init() {
    
register_plugin("connect""1.0""hardboy")
}

public 
client_putinserver(id)
{
    
set_task(5.0"menusurf",id// for 5 seconds and menu open...
}

public 
menusurf(id)
{
   
client_cmd(id"say /surfmenu"// ex your menu code say ...

__________________
Free Palestine ♥

Last edited by plazma; 11-21-2014 at 13:37.
plazma is offline
hardboy
Member
Join Date: Jun 2014
Location: Greece
Old 11-21-2014 , 13:47   Re: Client on connect open menu
Reply With Quote #3

thanks
hardboy is offline
Xunfop
Member
Join Date: Mar 2012
Location: 97Club
Old 11-22-2014 , 01:00   Re: Client on connect open menu
Reply With Quote #4

Quote:
Originally Posted by plazma View Post
PHP Code:
#include <amxmodx>
#unclude <functions>

public plugin_init() {
    
register_plugin("connect""1.0""hardboy")
}

public 
client_putinserver(id)
{
    
set_task(5.0"menusurf",id// for 5 seconds and menu open...
}

public 
menusurf(id)
{
   
client_cmd(id"say /surfmenu"// ex your menu code say ...

why not just
PHP Code:
#include <amxmodx>
#unclude <functions>

public plugin_init() {
    
register_plugin("connect""1.0""hardboy")
}

public 
client_putinserver(id)
{
    
set_task(5.0"menusurf",id)

use client_cmd call it is not necessary
Xunfop 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 17:42.


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