SA-MP Forums Archive
How to create house system int - 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: How to create house system int (/showthread.php?tid=599930)



How to create house system int - AriF786 - 01.02.2016

i want a good house system but iam new scripter plz help me that how i set exit point and inside object or a house ids

can i load house system like this




if(!fexist("DisabledPlayers.txt"))fcreate("Disable dPlayers.txt"),print("DisabledPlayers.txt Didnt Existed so it Was Created.");

Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/trains.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/pilots.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/lv_law.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/lv_airport.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/lv_gen.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/sf_law.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/sf_airport.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/sf_gen.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/ls_law.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/ls_airport.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/ls_gen_inner.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/ls_gen_outer.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/whetstone.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/bone.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/flint.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/tierra.txt");
Total_Vehicles_From_Files += LoadStaticVehiclesFromFile("vehicles/red_county.txt");

printf("Total Vehicles From Files: %d",Total_Vehicles_From_Files);

for (new i = 0; i < sizeof(ObjectInfo); i++)
{
CreateObject(ObjectInfo[i][OB_id],ObjectInfo[i][OB_X],ObjectInfo[i][OB_Y],ObjectInfo[i][OB_Z],ObjectInfo[i][OB_rX],ObjectInfo[i][OB_rY],ObjectInfo[i][OB_rZ],40.0);
}

can i create load properties any kind of this way


and sorry my english is so bad

plz help me


Re: How to create house system int - SystemX - 01.02.2016

Well, If you want a good house system I recommend you to use PPC_Housing, since you are a new scripter you can look at it's code, learn from it and someday be able to make your own house system. It already have features to save/load your house. Here's the link for it: PPC_Housing


Re: How to create house system int - AriF786 - 03.02.2016

Well Thanks for help