Jump to content

//_Dragon

Members
  • Posts

    214
  • Joined

  • Last visited

Everything posted by //_Dragon

  1. i add this mod (hydra) in acl [ resource.hydra ]
  2. ---sevrer function hydra () local accountname = getAccountName (getPlayerAccount(client)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then local x, y, z = getElementPosition ( client ) hydra = createVehicle ( 520, x, y, z ) warpPedIntoVehicle (client, hydra ) else outputChatBox ( "You must be admin to use this", client, 255, 255, 255, true ) end end rootElement = getRootElement() addEventHandler( "onHydraClick", rootElement, hydra) addEvent("onHydraClick", true) ---client function hydra () triggerServerEvent ( "onHydraClick", resourceRoot ) outputConsole("A hydra has been spawned.") end ---meta <meta> <info name="staff's hydra" author="Oussez" version="1.1" type="script" /> <script src="server.lua" type="server"/> <script src="client.lua" type="client"/> </meta> when i'm not admin i can get hydra :3 i want only admin can get it is there any bugs ??
  3. client triggerServerEvent ( "onHydraClick", resourceRoot ) outputConsole("A vehicle has respawned.") end) doesnt working
  4. Pfff the code has some problem if u're pro ( u aren't ) fixe it then say what u said to me get out of my topic i dont need ur help
  5. Can u give a example for get hydra only for Admin from F1 ?
  6. Look i need just a example for the mod ok ? if u wanna help me it's ok
  7. If you were so you could figure out how to do this yourself. A "Pro" could do this in a matter of minutes, seeing as you're trying to copy someone elses server, help ends here. I'm saying i'm pro then him not i'm pro scripter Any one help me ?
  8. Get fucking out of my topic | + i'm pro then u all mod's groam u have them u only stilling mods not creating new mod like me . so get out of my topic ok ? or .....
  9. Not working | i want make Only staff can get hydra & hunter & rhino , & player can't get them they most buy them from f1
  10. I'm not good scripter :3 i'm still 25% scripter Only i need some one give me the script ( cleint / server ) then i'll continue creating the mod
  11. It's possible to make Cars only for Staff ( Admin/Mod/Console/S.Mod/Vip) ? & it's possible to make shop in f1 Check the picture for understand
  12. I compile my client but it's steal showing in resources i wanna remove it
  13. How to make mod invisible in Mta/server/mods/deathmatch/resources ? Some noobs steal mod's server but i want make it invisible ( not showing in resources)
  14. I do one better thanks to yous guys I need yous here : viewtopic.php?f=91&t=94220
  15. http://imgur.com/v82uwBZ | Not Working Any one help ?
  16. The problem is : no picture's level is drawing in scoreboard i hope someone help me
  17. MrTasty Not Working can u put that's code in server ↓↓ exports.scoreboard:addScoreboardColumn("Level",getRootElement(),1,40,'Level') function scoreLevel () local account = getPlayerAccount(source) local Level = getElementData(source,"Level") or 0 if isGuestAccount ( account ) then setElementData(source, "Level",":Experience/Emblems/Guest.png") else setElementData(source, "Level", ":Experience/Emblems/"..tostring(Level)..".png" ) end end addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()),function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Level", getRootElement(), 1, 40) end )
×
×
  • Create New...