Thread: OpenMenu
View Single Post
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 11-06-2020 , 10:15   Re: OpenMenu
Reply With Quote #4

Quote:
Originally Posted by Napoleon_be View Post
PHP Code:
#include <amxmodx>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHam(Ham_Spawn"player""PlayerSpawnPost"1)
    
register_event("TextMsg""PlayerJoinedCt""a""2&#Game_join_ct");

}

public 
PlayerJoinedCt() {
    new 
id read_data(1);

    
client_cmd(id"say /class");


public 
PlayerSpawnPost(id)
{
    if (
is_user_alive(id))
    {
        
client_cmd(id"say /class");
    }

__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline