URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       CGGMTA
  HTML https://cgg2.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Dev Team Application [CLOSED]
       *****************************************************
       #Post#: 269--------------------------------------------------
       Price - Developer application[Accepted]
       By: Price Date: May 24, 2014, 9:57 pm
       ---------------------------------------------------------
       [tt]1.Nickname: Price
       2.Age: 18
       3.Country of Residence: Egypt
       4.Timezone: +3:00 GMT
       5.MTA Serial: 6718C47EC8774069CE14EADB4B91B9A1
       5.Tell us about yourself: Hello, my name is Price, i'am 18 years
       old and I live in Egypt, I go to school but I finished my exams
       lately, I've been playing MTA for about 2-3 years and played
       some RPG and RP servers and others... also about 8 months I
       heard about scripting, got interested in it and started to learn
       it and it's sort of a hobby that I like to do.
       6.I have been scripting for ?: 8-9 months
       7.I have scripted on the following servers ?: didn't script for
       a server yet.
       8.I know how to use exports & events ?:(Yes/No) Yes, ofc
       9.[b]Type atleast one paragraph explaining why you are qualified
       enough to become a Developer: Well it has been almost 9 months
       since I started how to script and I got experience from other
       scripters and people who used to teach me scripting like
       Slammer, also I've practiced to be good in it.
       10.Show us one of your scripts with some details to understand
       your scripting way? : This is a full godmode system for staffs.
       Server:
       function onplayerlogin(thePlayer)
       outputChatBox("#00FF04Admin God Mode Started By Price",
       getRootElement(), 0, 255, 4,true)
       end
       addEventHandler("onPlayerJoin", getRootElement(), onplayerlogin)
       team = createTeam ( "Staff", 255, 255, 255 )
       
       function teamSet ( thePlayer )
       local team = getTeamFromName ( "Staff" )
       local account = getPlayerAccount ( thePlayer )
       if ( not account or isGuestAccount ( account ) ) then
       return
       end
       
       local accountName = getAccountName(account )
       if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup
       ( "Admin" ) ) ) then
       if ( not getElementData ( thePlayer, "invincible" ) )
       then
       setElementData ( thePlayer, "invincible", true )
       setElementModel ( thePlayer, 217 )
       setPlayerTeam ( thePlayer, team )
       setPlayerNametagColor ( thePlayer, 255, 255, 255 )
       outputChatBox ( "#00FF00GodMode Enabled", thePlayer,
       0, 255, 0, true )
       else
       outputChatBox ( "#FF0000GodMode Disabled",
       thePlayer, 255, 0, 0, true )
       setElementData ( thePlayer, "invincible", false )
       end
       end
       end
       addEvent ( "sTeame", true )
       addEventHandler ( "sTeame", root, teamSet )
       addCommandHandler ( "staff", teamSet )
       Client:
       
       addEventHandler ( "onClientPlayerDamage",root,
       function ()
       if getElementData(source,"invincible") then
       cancelEvent()
       end
       end)
       
       addEventHandler("onClientPlayerStealthKill",localPlayer,
       function (targetPlayer)
       if getElementData(targetPlayer,"invincible") then
       cancelEvent()
       end
       end)
       this simply works  if you are in ACLgroup called "Admin"  and
       when you do /staff it gives you godmode and switches you to
       staff team and changes your Name tag color to white also sets
       your skin to 217 as staff skin.
       [/tt][center]I, Price, agree that I will not abuse the access
       that will be given to me if I am accepted as a Developer.
       I fully understand what the requirements are and what is
       expected of me. As a developer,
       I will respect the works of my fellow developers and only script
       ideas that are not copied from other places.[/center]
       #Post#: 271--------------------------------------------------
       Re: Price - Developer application
       By: Slammer Date: May 25, 2014, 4:03 am
       ---------------------------------------------------------
       +1 He used to be my scripting partner.
       Nice English skills.
       Nice scripting skills.
       #Post#: 302--------------------------------------------------
       Re: Price - Developer application
       By: Mugam1995 Date: May 31, 2014, 6:21 am
       ---------------------------------------------------------
       +1
       #Post#: 306--------------------------------------------------
       Re: Price - Developer application
       By: wassef Date: May 31, 2014, 10:11 am
       ---------------------------------------------------------
       +1
       #Post#: 379--------------------------------------------------
       Re: Price - Developer application
       By: Remon21 Date: June 2, 2014, 1:11 pm
       ---------------------------------------------------------
       ACCEPTED   Meet me in game Name[CGG]Messi
       *****************************************************