14.03.2010, 19:24
Ive been working on a script from scratch but i dont know how to make a house system i loook for an tutorial but i didnt find any can anyone hel ...
public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("RL:RP"); AddPlayerClass(0,1612.3240,-2330.1670,13.5469,0.0000,0,0,0,0,0,0); // PlayerSpawn SetTimer("CustomPickups", 1000, 1); AddStaticPickup(1274, 2,2026.4064,1017.9352,10.8203); //Houses CreateHouse("TestHouse1", 1, 1586.8066, -2349.6072, 13.5530, 266.857757, 305.001586, 999.148437, 2, 1); CreateHouse("TestHouse2", 1, 2346.872802, 692.999267, 11.460937, 266.857757, 305.001586, 999.148437, 2, 1); CreateHouse("TestHouse3", 1, 2396.482666, 691.487060, 11.453125, 2196.850341, -1204.343261, 1049.023437, 6, 1); CreateHouse("TestHouse4", 1, 2398.476074, 735.344665, 11.460937, 2196.850341, -1204.343261, 1049.023437, 6, 1); CreateHouse("TestHouse5", 1, 2368.863525, 733.627502, 11.460937, 2196.850341, -1204.343261, 1049.023437, 6, 1); CreateHouse("TestHouse6", 1, 2013.253906, 731.041870, 11.453125, 266.857757, 305.001586, 999.148437, 5, 1); CreateHouse("TestHouse7", 1, 2449.826660, 742.588806, 11.460937, 266.857757, 305.001586, 999.148437, 5, 1); CreateHouse("TestHouse8", 1, 2449.662353, 714.210693, 11.468292, 266.857757, 305.001586, 999.148437, 5, 1); return 1; }