Jump to content

BluntZ

Members
  • Posts

    220
  • Joined

  • Last visited

Everything posted by BluntZ

  1. BluntZ

    need help

    Can you explain more ? I cant understand u
  2. Awesome ! Keep it up
  3. Nothing I am just telling .... -.- idk why you are jealous of me..
  4. Well I fixed it and I made some changes now It can download skins too
  5. Can I also add Skins in it ? they will work ?
  6. Hello Homies , Any one can help me ? I am using dragon bubbles system but it is not showing LocalChat bubbles , I will be very Thank full to you Best Regards~BluntZ
  7. Awesome ! Keep it up
  8. yes you can , Try this gate = createObject (Object id, x,y,z,rx,ry, rz) col = createColSphere ( Object id, x,y,z,rx,ry, rz) addEventHandler( "onColShapeHit", col, function (player) if (getElementType(player) == ("player")) then if ( getElementData(player, "Group" ) ~= "Group Name here" ) then outputChatBox("#FF0000* #FFF000Only For #FF0000 .:[color=#FF0000](Group Name here)[/color] :. #FFF000Group ", player, 255, 255, 0, true) else moveObject (gate, 1000, x,y,z) end end end ) function close (thePlayer) moveObject (gate, 1000, x,y,z) end addEventHandler ("onColShapeLeave",col,close)
  9. What do you mean? That's already how the script is. When the player joins, the server will send the player a list of the mods to download with their hashes of the files. The client then checks to see if the files are already downloaded, and if they are, then the script will check the file hashes. If the hashes don't match it will delete the file, and re-dwonload it, but if it does exist, it will set the mod status according to what is in the xml file from the users last visit. Alright but It was working fine but When I install some new mods , its giving me error in debug that File Does't exist etc Any solution ?
  10. LoL! As you wish and btw dont lie you just updated my Table ....
  11. You didn't mention me I also helped you in this script
  12. Is it possible so that No one need to Enable All mods ? And we can enable it manually ? e.g If Any one join server , he dont need to enable it and Downloading will start on its own
  13. what you think he is machine that do everything that you want? try it by yourself and if it have some problem post here, gl Well I am not talking to u , so Mind your own business
  14. Madex Can you make A panel for Staffs to unban other or make Any command to unban , Thanks
  15. Use the same technique as the other script that NeverGiveup posted. You just have to get the players group using getElementData ( thePlayer, "Group" ) and check to see if it is equal to Mafia. You need to try to do it yourself before directly asking for help, if you ever want to learn anything. Alright I will try
  16. Can we also do it with Spawners also ? so that only Group members can take them ? if yes then where , Only for Mafia Group local spawners = { ['Free'] = { }, ['Job'] = { } } local spawnedVehciles = { } function createFreeSpawner ( x, y, z, rz, sx, sy, sz ) local i = #spawners['Free']+1 local z = z - 1 local sx, sy, sz = sx or x, sy or y, sz or z+1.5 local rz = rz or 0 spawners['Free'][i] = createMarker ( x, y, z, 'cylinder', 2, 255, 255, 255, 120 ) setElementData ( spawners['Free'][i], "SpawnCoordinates", { sx, sy, sz, rz } ) setElementData ( spawners['Free'][i], "NGVehicles:SpawnVehicleList", JobVehicles['Free'] ) setElementData ( spawners['Free'][i], "NGVehicles:JobRestriction", false ) addEventHandler ( "onMarkerHit", spawners['Free'][i], onSpawnerHit ) return spawners['Free'][i] end function createJobSpawner ( job, x, y, z, colors, rz, sx, sy, sz ) local i = #spawners['Job']+1 local z = z - 1 local sx, sy, sz = sx or x, sy or y, sz or z+1.5 local rz = rz or 0 local r, g, b = unpack ( colors ) spawners['Job'][i] = createMarker ( x, y, z, 'cylinder', 2, r, g, b, 120 ) setElementData ( spawners['Job'][i], "SpawnCoordinates", { sx, sy, sz, rz } ) setElementData ( spawners['Job'][i], "NGVehicles:SpawnVehicleList", JobVehicles[job] ) setElementData ( spawners['Job'][i], "NGVehicles:JobRestriction", tostring ( job ) ) addEventHandler ( "onMarkerHit", spawners['Job'][i], onSpawnerHit ) return spawners['Job'][i] end function onSpawnerHit ( p ) local job = string.lower ( getElementData ( source, "NGVehicles:JobRestriction" ) or "false" ) if ( job == 'false' ) then job = false end local pJob = string.lower ( getElementData ( p, "Job" ) or "" ) if ( job ) then if ( pJob ~= job ) then exports['NGMessages']:sendClientMessage ( "This spawner is for the "..job.." job. You're not in the "..job.." job.", p, 255, 140, 40 ) return end end
  17. So Can you tell me where I can use that getElementData ( thePlayer, "Group" ) just like I want it so that Only Group with name : Mafia can take Detective job , so where I can use this export ? Kindly give me example elseif ( name == 'Detective' ) then create3DText ( 'Detective', { x, y, z }, { 0, 120, 255 }, { nil, true } ) local p = createElement ( "GodmodePed" ) setElementData ( p, "Model", 17 ) setElementData ( p, "Position", { x, y, z, rz } ) createBlip ( x, y, z, 61, 2, 255, 255, 255, 255, 0, 450 ) addEventHandler ( 'onMarkerHit', createMarker ( x, y, z - 1, 'cylinder', 2, 0, 0, 0, 0 ), function ( p ) if ( getElementType ( p ) == 'player' and not isPedInVehicle ( p ) and not isPedDead ( p ) ) then if ( getPlayerWantedLevel ( p ) > max_wanted.law ) then return exports['NGMessages']:sendClientMessage ( "The max wanted level for this job is "..tostring ( max_wanted.law )..".", p, 255, 0, 0 ) end local arrests = getJobColumnData ( getAccountName ( getPlayerAccount ( p ) ), getDatabaseColumnTypeFromJob ( "police officer" ) ) if ( arrests < 150 ) then return exports.NGMessages:sendClientMessage ( "This job requires at least 150 arrests", p, 255, 255, 0 ) end triggerClientEvent ( p, 'NGJobs:OpenJobMenu', p, 'detective' ) end end )
  18. Hey , Is it possible that Any specific Clan can only take Detective job ? If yes then Where I can use export , Hope you will apply As soon As possible
×
×
  • Create New...