xeon17 Posted January 25, 2014 Posted January 25, 2014 function Check ( player ) local playerTeam = getPlayerTeam ( player ) if ( playerTeam ) then outputChatBox ( "#F4A460[GANG]#F08080 Bem vido a gang " .. getTeamFromName ( PlayerTeam ).." ! ", player, 255, 255, 255, true ) end end addEventHandler ( "onPlayerLogin", root, Check ) Nothing happens A unique GangWar gamemode waiting for you!Click here for more information.
Anubhav Posted January 25, 2014 Posted January 25, 2014 function Check ( player ) local playerTeam = getPlayerTeam ( player ) if ( playerTeam ) then outputChatBox ( "#F4A460[GANG]#F08080 Bem vido a gang " .. getTeamFromName ( "PlayerTeam" ).." ! ", player, 255, 255, 255, true ) end end addEventHandler ( "onPlayerLogin", root, Check ) Try that. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
xeon17 Posted January 25, 2014 Author Posted January 25, 2014 No work .-. A unique GangWar gamemode waiting for you!Click here for more information.
Anubhav Posted January 25, 2014 Posted January 25, 2014 function Check ( player ) local playerTeam = getPlayerTeam ( player ) if playerTeam then outputChatBox ( "#F4A460[GANG]#F08080 Bem vido a gang " .. getTeamFromName ( "playerTeam" ).." ! ", player, 255, 255, 255, true ) end end addEventHandler ( "onPlayerLogin", root, Check ) this? See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
DNL291 Posted January 25, 2014 Posted January 25, 2014 account thePreviousAccount, account theCurrentAccount, bool autoLogin function Check() local playerTeam = getPlayerTeam (source) if playerTeam then outputChatBox ( "#F4A460[GANG]#F08080 Bem vido a gang " .. getTeamName ( playerTeam ).." ! ", source, 255, 255, 255, true ) end end addEventHandler ( "onPlayerLogin", root, Check ) Please do not PM me with scripting related question nor support, use the forums instead.
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