Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/15/20 in all areas

  1. Version 1.0.0

    742 downloads

    Server-sided script, that getting a real weather hourly and sets it in the gta 5 world. HowTo: I. Install getJSON: npm install get-json --save II. Go to https://developer.accuweather.com/ and register as the Developer. III. To get your new API key, create your WeatherAPP here, https://developer.accuweather.com/user/me/apps On the question: "What programming language is your APP written in?" Answer will be: JavaScript. IV. Go to https://www.accuweather.com/ and find your preferred location on the map or by the search field, for example: Moscow, Russia. To set more accurate location to your preferred, click on the nearest point on the map, for me it is Yakimanka, then click on 'Hourly". V. The URL will look like this: https://www.accuweather.com/en/ru/yakimanka/2515350/hourly-weather-forecast/2515350 Well, 2515350 is the Location Key that we will use further. VI. Let's assemble your AccuWeather URL: http://dataservice.accuweather.com/forecasts/v1/hourly/1hour/YOUR_LOCATION_KEY?apikey=YOUR_API_KEY VII. Paste new AccuWeather URL into the script and save it. Warning! The Trial Version of AccuWeather is limited for 50 requests per day. GitHub
    1 point
  2. pog champ! @Ahmed you're a legend!
    1 point
  3. Das ding is schon durch . hab das mal über tv gemacht , wenn mann die datenbank nicht aufspielt kanns nich gehen und zum thema . "Oh man, wenn dann doch BITTE so:" mir is das schon klar, und das sollte auch jeden anderen klar sein der versucht das ucs in mit seinem server script funktionstüchtig zu machen.
    1 point
  4. const giveplayer = findRageMpPlayer(nameOrID); function findRageMpPlayer(playerNameOrPlayerId) { if (playerNameOrPlayerId == parseInt(playerNameOrPlayerId)) { return mp.players.at(playerNameOrPlayerId); } else { let foundPlayer = null; mp.players.forEach((rageMpPlayer) => { if (rageMpPlayer.name.toLowerCase().startsWith(playerNameOrPlayerId.toLowerCase())) { foundPlayer = rageMpPlayer; return; } }); return foundPlayer; } }
    1 point
  5. If you need js scripter for your project (for a fee) - contact me
    1 point
×
×
  • Create New...