Jump to content

qaisjp

Retired Staff
  • Posts

    2,344
  • Joined

  • Days Won

    10

Everything posted by qaisjp

  1. Aha yes, sorry. One minute. edit: function adminchat(_,...) local p = source local message = table.concat({...}, " ") local account = getPlayerAccount (p) if isGuestAccount(account) then return end if not isObjectInACLGroup ( "user." .. getAccountName(account), aclGetGroup("Admin") ) then return end local r, g, b = getPlayerNametagColor(source) outputChatBox ( "[Admin]"..getPlayerName ( source ) .. ":#ffffff " .. message, root, r, g, b, true ) end addEventHandler("onPlayerJoin", root, function() bindKey(source, "u", "down", "chatbox", "a") end ) addCommandHandler("a", adminchat)
  2. timers = {} function onLeave() if isTimer(timers[source]) then killTimer(timers[source]) end timers[source] = setTimer(destroyVehicle, 10*1000, 1, source) end function destroyVehicle(veh) if veh then destroyElement(veh) end end function onEnter() if isTimer(timers[source]) then killTimer(timers[source]) end end addEventHandler("onVehicleEnter",root, onEnter) addEventHandler("onVehicleLeave", root, onLeave) not tested wait ten seconds for it to delete
  3. Hmm I can help you develop a sparks code, i will start off: http://pastebin.com/4aj3CGuL dxCreateSpark returns an element, which can be deleted via destroyElement
  4. qaisjp

    Frozen Synapse

    Ohkay.. do I add you guys on steam or..?
  5. function adminchat(p,_,...) local message = table.concat({...}, " ") local account = getPlayerAccount (p) if isGuestAccount(account) then return end if not isObjectInACLGroup ( "user." .. getAccountName(account), aclGetGroup("Admin") ) then return end local r, g, b = getPlayerNametagColor(source) outputChatBox ( "[Admin]"..getPlayerName ( source ) .. ":#ffffff " .. message, root, r, g, b, true ) end addEventHandler("onPlayerJoin", root, function() bindKey(source, "u", "down", "chatbox", "a") end ) addCommandHandler("a", adminchat) Please learn from the code, because i spoon fed this. Press U ingame to open the chat.
  6. Not everyone is as clever as you Benox.exe
  7. qaisjp

    MTA on a USB Stick?

    MTA works on my drive on any computer for me. Hold shift when mta starts, something should appear.
  8. Worth the useless post, but +20 for John! Yeah, play MTA, it's better
  9. qaisjp

    MTA on a USB Stick?

    I have had my GTA installation from last year, (nocd crack) and works perfectly on all systems and other computers without errors. I have tested 1.0.4 and SA on a hard drive, i guuess 1.1 works too.
  10. qaisjp

    Call

    by the looks it is something like an alternate message box
  11. cooking with salads (KIMMIS I added u on skype, accept!)
  12. Wiki = good. function resetVehicleHandling(v) local h = getOriginalHandling(getElementModel(v)) for k,val in pairs(h) do setVehicleHandling(v, k, val) end end
  13. Make one version,with settings
  14. Plus, i also remember hearing that handling's are reset on server join..? So even if they are not being kicked, the handlings wouldnt apply.. Anyway, the new version of hedit will most probably support this.
  15. Just download a 1.0 crack and replace it with the gtasa.exe (but backup the original one too) Google "gtasa hoodlum" to find it.
  16. setVehicleHandling getOriginalHandling(modelID) returns a table
×
×
  • Create New...