eldelahoz Posted September 23, 2013 Posted September 23, 2013 Hola lo que pasa es que me aparece que el getplayer no tiene valor o algo asi y tengo el script asi ----------- Puerta 1------------ local objeto1 = createObject ( 980, 2486.8999023438, -1670.0999755859, 15.10000038147, 0, 0, 90 ) local state = false function Funcion ( thePlayer ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if ( not state ) then moveObject ( objeto1, 2000, 2486.8999023438, -1670.0999755859, 20, 0, 0, 0 ) state = true else moveObject ( objeto1, 2000, 2486.8999023438, -1670.0999755859, 15.10000038147, 0, 0, 90 ) state = false end end end addCommandHandler ( "abrir", Funcion )
EstrategiaGTA Posted September 23, 2013 Posted September 23, 2013 ¿Estás seguro de que está como server-side?
Recommended Posts