Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


  Show Posts
Pages: [1]
1  Scripting / Script Snippets / Buy Heal/Armour on: May 12, 2018, 11:05:48 pm
As the title suggests you can buy a heal (Health = 100%) or Armour.

Adapt this to your script however you want to, change 5000/8000 if you think it's too much or too little

Code: [Select]
else if ( szCommand == "heal" ) {
if ( pPlayer.Health != 100 && pPlayer.Cash >= 5000)
{
pPlayer.Health = 100;
pPlayer.Cash -= 5000;
MessagePlayer( "Purchased a heal for $5000. Remaining cash: $" + pPlayer.Cash + ".", pPlayer);
}
else if ( pPlayer.Health == 100)
{
MessagePlayer( "You already have full health!", pPlayer);
}
else if ( pPlayer.Cash < 5000)
{
MessagePlayer( "You don't have enough money!", pPlayer);
}
}

else if ( szCommand == "armour" || szCommand == "armor" ) {
if ( pPlayer.Armour != 100 && pPlayer.Cash >= 8000)
{
pPlayer.Armour = 100;
pPlayer.Cash -= 8000;
MessagePlayer( "Purchased armour for $8000. Remaining cash: $" + pPlayer.Cash + ".", pPlayer);
}
else if ( pPlayer.Armour == 100)
{
MessagePlayer( "You already have full armour!", pPlayer);
}
else if ( pPlayer.Cash < 8000)
{
MessagePlayer( "You don't have enough money!", pPlayer);
}
}
2  Liberty Unleashed / Liberty Unleashed Chat / Liberty Unleashed Cops 'n' Robbers (Community Project) on: April 10, 2016, 01:32:37 am
Hi there, everyone!

Today I am making this in hopes that the community of Liberty Unleashed will find it useful.

It's called Liberty Unleashed Cops and Robbers, and as implied, it's a cops and robbers server. There is really nothing done yet, and a LOT of things are going to be a buggy mess because I am not very good at Squirrel. (Of course I'll fix any bug I see, but yeah.)

There is really nothing yet except a very basic, bare-bones system (sorry, I made the initial script in about 10 minutes.) but I'll try to contribute things every day. Anybody is free to add a pull-request or make suggestions in this topic. I will try my best to add everything. This project will be open-sourced from its initialization, all the way until the script is completely finished.

https://github.com/yoshiandmario1/lu-cnr

COLLAB EDIT: http://collabedit.com/kuuyj

Please add suggestions below, or if you can, add a pull-request! It'd be really helpful!

Current features:
-Very basic wanted level system.
-3 commands: /wanted, /cmds, and /ver.
3  Liberty Unleashed / Liberty Unleashed Chat / Custom guns on: September 25, 2014, 03:21:01 am
Hello all

I know it is possible in VC-MP 0.4 to add custom weapons to the game.

However is it possible to add custom weapons to Liberty Unleashed?

Thanks  ;D
4  Liberty Unleashed / Support / What ports do I have to forward for LU windows server? on: March 29, 2014, 01:31:37 am
Simple question., what ports do I have to forward on my router for LU windows server to work properly?
5  Liberty Unleashed / Liberty Unleashed Chat / Liberty Stunts (In Development) on: February 05, 2014, 01:22:16 am
Hey there liberty unleashed! I have pretty much became addicted to this game (lol) and i love playing liberty unleashed. One of My favorite gamemodes on SAMP is stunting. I think there was a stunting server on VCMP as well but i am not really sure. But anyways. I noticed there were no stunting servers on liberty unleashed. This kind of disappointed me but instead of waiting for a stunting server, I thought "why not make the stunting server myself"? Ive previously made a stunting game mode on SAMP but its not up anymore. Now that ive taught myself some things about squirrel I think its time to make a liberty unleashes first stunting server! (Well im not sure if it is the FIRST stunting server, but ive never seen any others...)

Screenshots
Unfortunately i do not have any screenshots right now. I will get some soon.

Commands
  • - /Spawncar [90-150] - Spawn any car except the ones not supported by LU
    - /airport - Teleports you to the airport
    - /pl - Teleports you to Portland
    - /mypos - Gives you your current coordinates
    - /register - Allows you to register a account
    - /build - Tells you the current build #
    - /rules - Gives you the rules
    - /joeys - Sends you to Joeys Garage
    - /flip - Flips your vehicle
    - /fix - Fixs your vehicle
    - /Heal - Heals you
    - /respawn - Sends you to the spawn screen
    - /ip - Tells you your IP Address
    - /flyingcars - Tells you if flying cars are enabled
    - /msg [ID] [Text] - Send a private message to a player
    - /lock - Lock your car
    - /unlock Unlock your car

Binds
F2 - Disable HUD
F3 - Enable HUD


Hope i can get this up soon! Please let me know what you guys want below. I am currently putting in Objects for the server, I hope i can get this done soon so you guys can play. Please if you guys have any suggestions comment them below i will add them to the server. Thanks :)
6  Liberty Unleashed / Liberty Unleashed Chat / Adding objects to liberty unleashed? on: January 31, 2014, 02:53:09 am
hey LU! I was wondering Is there a way to add objects to my server that im making? Im really confused and cant figure it out, and I know theres a list of object ids so i presume its possible, but how would i go about doing it? Can anyone help? Thanks so much!
7  Liberty Unleashed / Liberty Unleashed Chat / GTA III Co-Op??? on: January 26, 2014, 05:26:27 am
Hey guys and people of Liberty Unleashed, me and my friend have been trying to play GTA III on Co-Op for a while now, we havent found a way too. We were just wondering is this possible or will it ever be possible in Liberty Unleashed? Plz respond. Thank you
Pages: [1]
© Liberty Unleashed Team.