Raised This Month: $ Target: $400
 0% 

How to show menu when respawn ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-30-2014 , 09:29   Re: How to show menu when respawn ?
Reply With Quote #1

Quote:
Originally Posted by Flick3rR View Post
PHP Code:
engclient_cmd(id"say /menu"
Just execute it on spawn?!
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 06-30-2014 , 09:39   Re: How to show menu when respawn ?
Reply With Quote #2

Quote:
Originally Posted by Flick3rR View Post
Just execute it on spawn?!
How ? i'm noob and beginner scripter bro :\ please help

Edit :-

Where to put this ?

Code:
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1)
}
 
public fwHamPlayerSpawnPost(iPlayer) {
        if (is_user_alive(iPlayer)) {
                // player spawned
        }
} 

engclient_cmd(id, "say /menu")  

Last edited by Awesome_man; 06-30-2014 at 09:41.
Awesome_man 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 21:15.


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