SA-MP Forums Archive
checkpoint help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: checkpoint help (/showthread.php?tid=599569)



checkpoint help - JuzDoiT - 27.01.2016

how to replace the enter/exit checkpoint to Pickup :

#define CP_TYPE_ENTRY 1
#define BUS_TYPE_CITYHALL 2

enum hInfo
{
Float:h_cpx,
Float:h_cpy,
Float:h_cpz,
h_cpsize,
h_cptype,
h_cpbustype,
h_cpmarker,
Float:h_cp_radius,
Float:h_entry_x,
Float:h_entry_y,
Float:h_entry_z,
Float:h_entry_a,
h_entry_i,
h_entry_w,
Float:h_exit_x,
Float:h_exit_y,
Float:h_exit_z,
Float:h_exit_a,
}

new HouseInfo[][hInfo] =
{
{2412.629394, 1123.871093, 10.820312, 2, CP_TYPE_ENTRY, BUS_TYPE_CITYHALL, 12, 40.0 ,388.286804, 173.851669, 1008.382812, 89.292861 ,3,388 ,2416.949462, 1124.017333, 10.820312, 271.265197, 0,0, 0.0,0.0,0.0,0.0, 0,0, "City Hall" ,"East Las Venturas"}
};