Jump to content

Shazzimal

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by Shazzimal

  1. Oow, ok that's not what i need in my scripts. THANKS!!!
  2. I often see, that someone types blip. What's a blip? Thanks
  3. have you deleted the files in the resource-cache. You're welcome!
  4. He sent this: edit: don't delete the files when the server is running!
  5. I found it on the forum, and for him it works!
  6. Just delete all files in the resource-cache folder, and it will be fixed.
  7. What i did is, fixed the ends on the end, couse they were not good.
  8. changed your if? i didn't.
  9. You must yous this then: step 1: server-side addCommandHandler("getSniper", function() local range = getWeaponProperty(34,"poor","weapon_range") outputChatBox("Range from Sniper is:"..tostring(range)) end) meta.xml <meta> <script src="server.lua" type="server"/> </meta> Just add this resource to the server, type /getSniper on chatbox and send the result to me.
  10. So you want, that a sniper can shoot farther.
  11. Do you mean the distance a sniper could sight, or could shoot?
  12. you can't change the scope_range. You can only change the gun_range.
  13. That's accactly what i found yet, i can help you if you need.
  14. Ok, i am not advanced with scriptin, i started learning around 3-4 days ago. I am going to search on the wiki, to your problem.
  15. I don't really know what do but firt, try this out? There was an error in the 2nd script you sent. addEventHandler("onMarkerHit", jobMarker_trucker1, function ( source, hitPlayer ) if getElementType( source ) == "player" then local isTeam = getPlayerTeam( source ) if isTeam then local team = getTeamName( getPlayerTeam ( source ) ) if team and team == "Trucker" then local job = getAccountData(getPlayerAccount(source), "player-job") if job == false then triggerClientEvent(source, "startJob_trucker", root) startJob_trucker_marker1() setAccountData(getPlayerAccount(source), "player-job", true) else triggerClientEvent(source, "errorMsg", root, "You are already on a job") end end end end end)
  16. What is server-side you made?
  17. Where can i learn the SQL scripting, i've now got enough scripting knowledge so i think i can go one step further?
  18. You mean, you wan't to learn scripting?
  19. I want that when you die as admin, and than when you spawn back, you will get skin ID 286
  20. That's not what i mean, i mean that i will not get the skin i want, when i get alive, after i died. How can i fix it. ===server-side=== addEventHandler("onPlayerSpawn", root, function () if hasObjectPermissionTo(source, "command.ban", true) then setElementModel(source,286) outputChatBox("Welcome admin, your skin has been set to: Admin server skin.",source,255,0,0) end end)
  21. I want the GUI for non-admins. For this: addEventHandler("onPlayerSpawn", root, function () if hasObjectPermissionTo(source, "command.ban", true) then setElementModel(source,286) outputChatBox("Welcome admin, your skin has been set to: Admin server skin.",source,255,0,0) end end) It will not give me the skin i want, everytime i die and get alive, i will get another skin, not ID 286.
×
×
  • Create New...