Skip to content

Instantly share code, notes, and snippets.

View pauliusdotpro's full-sized avatar
😊

Paul pauliusdotpro

😊
View GitHub Profile
using serverMP;
using System.Collections.Generic;
using System.Timers;
using serverMP.APIScript;
namespace Gamemode
{
struct PlayerPing
{
public PlayerInfo player;
using System;
using System.Collections.Generic;
using System.Linq;
using serverMP;
using serverMP.APIScript;
using System.Timers;
namespace Gamemode
{
class WeatherTime : ScriptAPI
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
namespace Gamemode.AsanDB
{
class SimpleORM
{
namespace Gamemode.AsanDB
{
class Player : SimpleORM
{
private int id;
private string username;
private string ip;
public int _id
{
using System;
using System.Collections.Generic;
using System.Data;
using MySql.Data.MySqlClient;
using serverMP;
namespace Gamemode.AsanDB
{
class Db
{
@pauliusdotpro
pauliusdotpro / DisableVehiclePeds.txt
Last active November 6, 2018 11:37
Disables all autospawning vehicles, peds
Citizen.CreateThread(function()
while true
do
-- These natives has to be called every frame.
SetVehicleDensityMultiplierThisFrame(0.0)
SetPedDensityMultiplierThisFrame(0.0)
SetRandomVehicleDensityMultiplierThisFrame(0.0)
SetParkedVehicleDensityMultiplierThisFrame(0.0)
SetScenarioPedDensityMultiplierThisFrame(0.0, 0.0)