Jump to content

Helping new players in scripting.


Anubhav

Recommended Posts

Hello players of MTA,

If you are very new in LUA Scripting i will help you anytime if you need. You can add me on skype : anubhav.agarwal87

I Will help you for free.

You can post here also.

Good to hear that. But how about ask help for yourself?

Some of your posts show to me that you need help.

  
 function showGUI ( ) --markerhit 
createMarker (x,y,z) 
             guiSetVisible(GUIEditor_Window[1], true) 
             showCursor(true) 
    end 
addEventHandler("onPlayerMarkerHit",source,showGUI) 
  

Just use markers.

  
  
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...