Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ---- [ FORWARDS ] ----
- forward sqlite_return_free_vw(); // This returns the next free virtual world, each time a house etc is added it adds one.
- forward LoadVehicles(); // Loads all existing vehicles.
- forward DeleteVehicle(vehicleid); // Deletes a vehicle.
- forward LoadVehicle(sqlid); // Loads the vehicle.
- forward AddVehicle(Float:carx,Float:cary,Float:carz,carmodel,carcolor1,carcolor2, Float:carangle, world, price, forsale, factionid, owner_sql_id, owned); // Creates a vehicle.
- forward VehicleExists(vehicleid); // Checks if the vehicle exists.
- forward PlayerOwnsCharacter_ID(playerid, id); // Checks if the player owns the character by id.
- forward PlayerOwnsCharacter_Name(playerid, charactername[]); // Checks if the player owns the character by name.
- forward LoadScript(); // Loads information from a non sqlite file.
- forward SaveScript(); // Saves information to a non sqlite file.
- forward AccountExists(playerid); // Checks if the master account is already registered.
- forward MasterAccountLogin(playerid, password[]); // Login to an existing master account.
- forward MasterAccountRegister(playerid); // Register a new Master Account if name not already in use.
- forward ResetMasterAccountVariables(playerid); // Resetting variables upon connection.
- forward MasterAccountSave(playerid); // Saves the master account variables to SQLite.
- forward ShowMenuDialog(playerid); // Shows the Main Menu dialog.
- forward PlayerCharacterCount(playerid); // Returns how many characters the user has already created.
- forward ResetPlayerCharacterVariables(playerid); // Resetting character variables upon connection.
- forward split(const strsrc[], strdest[][], delimiter); // Splitting a string.
- forward LoadCharacter(playerid, charactername[]); // Load character.
- forward CharacterID(charactername[]); // Returns the character ID of the desired name.
- forward CharacterExists(charactername[]); // Checks if the character exists by name.
- forward SpawnedAsCharacter(playerid); // Checks if the masteraccount is spawned as a character.
- forward DespawnCharacter(playerid); // Despawns the character if it's spawned.
- forward SaveCharacter(playerid); // Saves the character.
- forward CreateCharacter(playerid, charactername[], Float:playerx, Float:playery, Float:playerz, Float:playerangle, playerworld, playerinterior, playercash, playersex, playerage, playerreligion, playerbank, playerskin); // Creates a character.
- forward PlayerVehicleCount(playerid); // Counts how many vehicles the player owns.
- forward SaveVehicles(); // Saves all vehicles.
- forward SaveVehicle(vehicleid); // Saves vehicle by vehicle id which then saves by sqlid.
- forward GamemodeRestart(); // Starts the gamemode restart process.
- forward GameModeRestartFunction(); // Restarts the server.
- forward VehicleUpdateSpawn(vehicleid, Float:newx, Float:newy, Float:newz, Float:newangle); // Updates vehicle spawn.
- forward isVehiclePlayerOwned(vehicleid); // Checks if the vehicle is player owned, not affiliated with a faction etc.
- forward isVehicleOwner(vehicleid, playerid); // Checks if the user is the owner of the vehicle.
- forward VehicleForSale(vehicleid); // Checks if the vehicle is for sale, returns true/false.
- forward ObjectsInit(); // Function that loads objects.
- forward SetPlayerPosEx(playerid, Float:sx, Float:sy, Float:sz, Float:sangle, sinterior, svirtualworld); // Set multiple clientside world data at once.
- forward BuildingExists(sqlid); // Checks if a building exists by sqlid.
- forward LoadBuilding(sqlid); // Load a building by sqlid.
- forward LoadBuildings(); // Loads all buildings.
- forward CreateBuilding(sname[MAX_BUILDING_NAME], Float:fentx, Float:fenty, Float:fentz, ientfee, ientworld, ientint, Float:fenta, Float:fexitx, Float:fexity, Float:fexitz, iexitint, Float:fexita, iexitw, ilocked); // Creates a building.
- forward VehicleExistsEx(sqlid); // Checks if a vehicle exists by sqlid.
- forward ShowInteriorDialog(playerid); // Shows the player the dialog with the list of interiors.
- forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); // Playertopoint checks.
- forward PickupGametexts(); // Shows the gametexts when a player walks on a pickup.
- forward EnterExitChecks(playerid); // Function that is run when the user attempts to enter a building.
- forward AntiCheatTimer(); // Runs the anticheat code.
- // ----------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement