-
Posts
84 -
Joined
-
Last visited
Everything posted by naz19
-
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.
-
<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>
-
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
-
https://community.multitheftauto.com/index.php?p= ... ls&id=5082 it's lil_toady's resource Joker changed just labels colors... -.-
-
axaxaxaxa )))
-
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 )
-
They're awesome Good Job
-
viewforum.php?f=81 ?
-
community.multitheftauto.com/index.php?p=resources&s=details&id=4653
-
track 4/5, deco 3/5 nice map and.................... pls tell full name of song
-
givePedJetPack ( thePlayer )
-
nice tutorial x)
-
5/5
-
cool lights^^ 5/5 good job
-
nice map
-
Why is this topic in showroom?
-
@@Jayz, why not ?)