Plate Posted June 30, 2012 Posted June 30, 2012 que esta mal en esto ? addEvent("enviarVariable",true) addEventHandler("enviarVariable",root,function (playerName) local elPlayer = getPlayerFromName(playerName) local usuario = getAccountName ( getPlayerAccount ( elPlayer ) ) if isObjectInACLGroup ( "user.".. usuario, aclGetGroup ( "LiderFTFP" ) ) then if ( accountName ) then local pname = getPlayerName ( elPlayer ) aclGroupAddObject ( aclGetGroup ( "FTFP" ), "user.".. accountName ) outputChatBox ( tostring ( pname ) .." agrego a '".. accountName .."' a S.T.A.R.S", getRootElement(), 0, 255, 255, true ) end end end ) Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Castillo Posted June 30, 2012 Posted June 30, 2012 Donde esta "accountName" definido? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Plate Posted June 30, 2012 Author Posted June 30, 2012 jaja nose es que este script me lo dio ElMota cuando yo pregunte eso del gui pero me die "badArgument" getPlayerAccount "bad argument" getAccountName "bad argument" local usuario (a boolean valvue) Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Recommended Posts