Jump to content

script PlayerVehicles systém


Angelus

Recommended Posts

Hello, vytvoril som pre vás PlayerVehicles systém (aj tak som dnes nemal čo iné na práci :d)

Inštalácia & použitie:

vytvorte si nejaký obchod - predajňu áut, najlepšie cez dialog (názornú ukážku už máte v scripte v /* a */)

potom

PCar_DialogResponse(playerid,dialogid,response,listitem);

do publicu OnDialogResponse

 

PCar_PlayerConnect(playerid);

-OnPlayerConnect

 

PCar_PlayerDisconnect(playerid);

-OnPlayerDisconnect

 

PCar_VehicleDeath(vehicleid);

-OnVehicleDeath

 

PCar_OnPlayerCommandText(playerid, cmdtext[]);

-OnPlayerCommandText

 

Download: http://pastebin.com/jaU4TGqz

auto si môžete zaparkovať pomocou /park, predať a respawnúť pomocou /vehicles

 

-ukladá damage status a aj health vozidla

 

(inšpirácia - VG, robil som to 4fun)

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...