06.02.2010, 12:19
I tried to setup an own house-sys looks like that:
The pickups dont even appear. Hope you can help me, thanks in advance!
Code:
enum hInfo { houseid, hentx, henty, hentz, hinter, hintx, hinty, hintz, hlock, hvirtualworld }; //------------------------------------------------------------------------------ new Houses[2][hInfo] = { (0,2029.6045,1342.1985,10.8203,3,207.054992,-138.804992,1003.507812,0,1), (1,2029.6045,1342.1985,10.8203,3,207.054992,-138.804992,1003.507812,0,2) }; //------------------------------------------------------------------------------ public OnGameModeInit() { SetGameModeText("Project"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); // for(new h = 0; h < sizeof(Houses); h++) AddStaticPickup(1273,2,Houses[h][hentx],Houses[h][henty],Houses[h][hentz]); return 1; }