xeon17 Posted January 25, 2014 Share 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 Link to comment
Anubhav Posted January 25, 2014 Share 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. Link to comment
Anubhav Posted January 25, 2014 Share 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? Link to comment
DNL291 Posted January 25, 2014 Share 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 ) 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