Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/06/23 in all areas

  1. well for last picture where u talk about hud u need something like this, u just have to add this lines in your script local hp = getElementHealth(localPlayer) local armour = getPedArmor(localPlayer) if armour > 0 then -- draw armor img dxDrawImage(x,y,w,h,"armour.png") -- write the image name and extension and location u should have the image and the script in the same folder else --draw health image dxDrawImage(x,y,w,h,"health.png") end And for the part where u create a team u just write on a server side script local your_team_name = createTeam("Your team name",r,g,b) -- r,g,b your team color after name it should work i tried on the basic mta server it works. For the country part i dont know, i dont have experience with this, i hope someone better who knows will help you.
    1 point
  2. It looks like my post is irrelevant then. I was assuming you wanted to make new dimension IDs so that it would be easier to avoid such mistakes like accidentally using same dimension ID for things that should be in separate dimensions. But from what I understand, that's not the problem, so you can just pick some ID and use it for your island. Dimensions don't have weathers, all they have is elements. However, if you set weather in the client-side script, it only changes for that player. If you change the weather for the player alongside putting that player in the dimension, from their perspective it will appear as if that dimension has a different weather. To achieve this, whenever you call setElementDimension, you can also call triggerClientEvent to trigger a custom event, which then you would use to call setWeather on the client-side script. For customizing weather-related properties, in addition to links that @FlorinSzasz posted, there are several other functions, such as setColorFilter and setFogDistance, that you would call on the client side.
    1 point
×
×
  • Create New...