Jump to content

naz19

Members
  • Posts

    84
  • Joined

  • Last visited

Everything posted by naz19

  1. naz19

    [HELP]Anims

    i seen this x86's video in youtube: but idk why there isn't these functions in MTA... maybe it was unstable idk. P.S.: video is ~ 2 years old.
  2. naz19

    Setting ACL file

    <acl name="Admin"> ... <right name="function.setServerConfigSetting" access="true"></right> <right name="function.updateResourceACLRequest" access="true"></right> <right name="command.aclrequest" access="true"></right> <right name="general.adminpanel" access="true"></right> <right name="general.tab_players" access="true"></right> <right name="general.tab_resources" access="false"></right> <!-- Disallow admins to look this tab, and make an Owner ACL group and allow that there --> <right name="general.tab_server" access="true"></right> <right name="general.tab_maps" access="true"></right> <right name="general.tab_bans" access="true"></right> <right name="general.tab_adminchat" access="true"></right> <right name="command.kick" access="true"></right> <right name="command.freeze" access="true"></right> <right name="command.mute" access="true"></right> <right name="command.setnick" access="true"></right> <right name="command.shout" access="true"></right> <right name="command.spectate" access="true"></right> <right name="command.slap" access="true"></right> ... </acl>
  3. naz19

    xml

    Maybe handle it by command, event, key or use it in handled function?
  4. naz19

    xml

    local stations = xmlNodeGetChildren ( meta ) --get all node children local station1, station2 = unpack ( stations ) -- then unpack table local attrs = xmlNodeGetAttributes ( station1 ) local attrs2 = xmlNodeGetAttributes ( station2 ) for name,value in pairs ( attrs ) do outputChatBox( value ) end for name,value in pairs ( attrs2 ) do outputChatBox( value ) end -- u can also do local stations = xmlGetNodeChildren ( meta ) for i, station in ipairs ( stations ) do local url = xmlNodeGetAttribute ( station, "url") local name = xmlNodeGetAttribute ( station, "name") outputChatBox ( tostring ( i ) .. ' : url = ' .. tostring ( url ) .. ' name = ' .. tostring ( name ) ) end
  5. https://community.multitheftauto.com/index.php?p= ... ls&id=5082 it's lil_toady's resource Joker changed just labels colors... -.-
  6. why do u need it? as far as i know data which u had set via setElementData will be lost after u restart resource or player reconnect... anyway i'll come back to ur problem... so try add timer ( u r setting data and getting it in same moment, so when u r trying to get data there could not be that data ) : addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), function ( ) local state = 'false' setElementData ( localPlayer, "DoingJob", state ) setTimer ( function ( ) if getElementData ( localPlayer, "DoingJob" ) == state then addEventHandler ( "onClientMarkerHit", medicMarker, markerHit ) end end, 500, 1 ) end )
  7. They're awesome Good Job
  8. community.multitheftauto.com/index.php?p=resources&s=details&id=4653
  9. naz19

    [DM] Young$

    track 4/5, deco 3/5 nice map and.................... pls tell full name of song
  10. givePedJetPack ( thePlayer )
  11. naz19

    [DM]Vopic-Mesa

    nice map 4/5 good job
  12. Why is this topic in showroom?
×
×
  • Create New...