Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 28/04/21 in all areas

  1. Not random, but it does it's thing. 14000 / 7 = 2000 ms each image. local images = math.max(math.ceil(7 * ((getTickCount() % 14000) / 14000)), 1) getTickCount() % 14000 This gives you a value between 0 and 13999 in milliseconds. This value counts up, resets and counts up again. (getTickCount() % 14000) / 14000) Value between 0 and 0.999999999. 7 * ((getTickCount() % 14000) / 14000) Value between 0 and 6.9999999 math.ceil(7 * ((getTickCount() % 14000) / 14000)) Value between 0 and 7. (very small chance that the value is 0) math.max(math.ceil(7 * ((getTickCount() % 14000) / 14000)), 1) Value between 1 and 7.
    2 points
  2. getCameraMatrix only works serverside if the camera is fixed with setCameraMatrix, it doesn't return GTA camera values. Instead of element data, I recommend using triggerServerEvent to send the values to server, and triggerClientEvent to send to relevant (nearby) players.
    1 point
  3. It remains possible, make sure to read carefully and also see https://updatesa.multitheftauto.com/sa/trouble/?tr=serial-validation As long you control the PC (host machine) you're fine.. 99% of the impact is on cloud gaming only, because the customer has no control over the machine that runs the VM.
    1 point
×
×
  • Create New...