Jump to content

AserOsama

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by AserOsama

  1. I removed all of them but this removed the markers and the peds and damaged all the script. If you can check what's wrong?
  2. I am not using Custom Radar The problem is when I get near it shows on radar and the map and when I get far it doesn't show I want to make it show on the radar when getting near but always on the map!
  3. Well, Thanks it worked!
  4. If you could explain more? like this? local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } addEventHandler("onClientPlayerWasted", getResourceRootElement(getThisResource()), function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) end end) local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } addEventHandler("onClientPlayerSpawn", getResourceRootElement(getThisResource()), function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) end end)
  5. Well, I want to delete the GTA SA original HUD. So I made a script using SetPlayerHudComponentVisible function and It worked but here the problem comes when I get killed and I respawn, It shows again! local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) end end) I want to know the function I can use to disable HUD on resource start and on player respawn. Thanks!
  6. if( markers[num].Blip == nil and markers[num].MType ~= nil ) then markers[num].Blip = createBlip( markers[num].X, markers[num].Y, markers[num].Z, markers[num].MType, 1, 255, 0, 0, 200 ) setBlipVisibleDistance(blip, 999999) setElementParent( markers[num].Blip, markers[num].Col ) setElementDimension( markers[num].Blip, getElementDimension( _local ) ) end is that's correct? Note: I made it 999999 Because I want the blip always on the map, also not always on the radar.
  7. Well, The Blip of the food shop only shows when I get near to it, When I get far from the shops it disappears and I don't know the reason. I just want to know the reason and If can someone fix it to appear on the map or can tell me the event to try to fix it Client Side: That's all! Thanks.
  8. Well, how?!
  9. Tried to change the functions like getPlayerClan to getPlayerGroup ..etc But still doesn't work.
  10. Having same problem, It was working perfect then when I uploaded it to the host with the host settings everything started to get error due to no SQL Database
  11. I found something that could link, but it doesn't work So if can anyone check it, or? Give me atleast a little a hint am new to scripting.
  12. I am using Nerd Gaming Group System, So I want to link the Gate with the name of the group which is used by the group system But, It was working by creating Teams only and not working with group system when creating team ("SWAT") Group System: s.lua That's it
  13. Well, I had some scripts which requires SQL so I used Xampp on my local host to create a database for the server, the question is if I bought a VPS (host online) How can I add database SQL for it?
×
×
  • Create New...