Ianito Posted January 8, 2014 Share Posted January 8, 2014 Wanted to know what functions to use to make a script when the player connects, displaying an image that covers the screen, and it will only be removed when the player presses the spacebar Link to comment
Gallagher Posted January 8, 2014 Share Posted January 8, 2014 https://community.multitheftauto.com/ind ... ls&id=4004 Link to comment
Noki Posted January 8, 2014 Share Posted January 8, 2014 bindKey guiCreateStaticImage Event: onClientPlayerJoin Link to comment
TAPL Posted January 9, 2014 Share Posted January 9, 2014 bindKey guiCreateStaticImage Event: '[strike]onClientPlayerJoin[/strike]' This event is triggered when a player joins a server. It is triggered for all players except the local player, as the local player joins the server before their client-side resources are started. It would also be possible for two players to join within a few seconds of each other and for the two players' scripts may not receive onClientPlayerJoin events as their scripts wouldn't have started yet. The right event would be onClientResourceStart. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now