21.11.2012, 17:59
(
Последний раз редактировалось MichiCZ; 24.11.2012 в 05:52.
)
Hi, this is my first Include.
Introduction:
This include allows you to buy and manage your own vehicle.
Procedure:
1. Copy pastebin save as "PCar.inc"
2. The .inc file copy to folder "includes"
3. Now open our GM/FS and paste
#include <PCar>
a) PCar_DialogResponse(playerid,dialogid,response,lis titem); to public OnDialogResponse
b) PCar_PlayerConnect(playerid); to public OnPlayerConnect
c) PCar_PlayerDisconnect(playerid); to public OnPlayerDisconnect
d) PCar_VehicleDeath(vehicleid); to public OnVehicleDeath
e) PCar_OnPlayerCommandText(playerid, cmdtext); to public OnPlayerCommandText
Create folder "PCars" in "scriptfiles" folder
The pastebin is a sample script usage
Another approach can be found in the video!
Commands:
/vehicles - Show list of your vehicles
/park - Park vehicle at its current position
Video: http://www.youtube.com/watch?v=2oLGG...ature=*********
Download: http://pastebin.com/fNTfaZwG
Rate & Comments please
I'm from Czech republic, excuse my English
Introduction:
This include allows you to buy and manage your own vehicle.
Procedure:
1. Copy pastebin save as "PCar.inc"
2. The .inc file copy to folder "includes"
3. Now open our GM/FS and paste
#include <PCar>
a) PCar_DialogResponse(playerid,dialogid,response,lis titem); to public OnDialogResponse
b) PCar_PlayerConnect(playerid); to public OnPlayerConnect
c) PCar_PlayerDisconnect(playerid); to public OnPlayerDisconnect
d) PCar_VehicleDeath(vehicleid); to public OnVehicleDeath
e) PCar_OnPlayerCommandText(playerid, cmdtext); to public OnPlayerCommandText
Create folder "PCars" in "scriptfiles" folder
The pastebin is a sample script usage
Another approach can be found in the video!
Commands:
/vehicles - Show list of your vehicles
/park - Park vehicle at its current position
Video: http://www.youtube.com/watch?v=2oLGG...ature=*********
Download: http://pastebin.com/fNTfaZwG
Rate & Comments please
I'm from Czech republic, excuse my English