Little question
#1

So this is my problem:
Everytime i search for a good map there is just a code.Createobject ( .... ).And i need to know where i need to put it.Can you help me?
Reply
#2

At OnGameModeInit if you're using the script as a gamemode or at OnFilterScriptInit if you're using the script as a filterscript.
Reply
#3

thx for help but there is new problem .. everything works fine but when i tried to go to that place nothing has changed
here is my OnGameModeInit
Код:
public OnGameModeInit()
{
	SetGameModeText("Ventura's DM~MG");

	ShowPlayerMarkers(1);
	ShowNameTags(1);
	EnableStuntBonusForAll(0);

	// Player Class's
	AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
	AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);

                    ... 
// Car Spawns

	AddStaticVehicle(451,2040.0520,1319.2799,10.3779,183.2439,16,16);
	AddStaticVehicle(429,2040.5247,1359.2783,10.3516,177.1306,13,13);

                    ...
	AddStaticPickup(371, 15, 1710.3359,1614.3585,10.1191); //para
	AddStaticPickup(371, 15, 1964.4523,1917.0341,130.9375); //para
	AddStaticPickup(371, 15, 2055.7258,2395.8589,150.4766); //para
	AddStaticPickup(371, 15, 2265.0120,1672.3837,94.9219); //para
	AddStaticPickup(371, 15, 2265.9739,1623.4060,94.9219); //para
                    ...
CreateObject(16358,1319.226,-249.018,4290.590,0.0,0.0,-90.000);
CreateObject(8040,1295.309,1618.866,5560.217,0.0,0.0,-90.000);    

	SetTimer("MoneyGrubScoreUpdate", 1000, 1);
	//SetTimer("GameModeExitFunc", gRoundTime, 0);

	return 1;
}
Sorry i canґt place it all itґs over 2000 characters.
Reply
#4

can you help me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)