House system plz help
#1

i m trying to setup a new house sys, plz help me to get it working

Код:
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++)
	CreatePickup(1273,2,Houses[h][hentx],Houses[h][henty],Houses[h][hentz]);
	return 1;
}
the pickups dont even appear, not with AddStatic , nor with CreatePickup
i dont want to use any folder from scriptfiles
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)