Help! How to remove the CJ running style?
#1

How to remove it? I want a fas run. Please help.
Reply
#2

pawn Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    return 1;
}
this will help, and if u dont want them to run like CJ search
pawn Код:
UsePlayerPedAnims();
in ur GM and remove it
Reply
#3

Remove UsePlayerPedAnims();
Reply
#4

Is still slow running. O.o
Reply
#5

Quote:
Originally Posted by edgargreat
Посмотреть сообщение
Is still slow running. O.o
Can you show your OnGameModInit()?
Reply
#6

can't find that.
Reply
#7

CJ Run = Fast...Do you want the fast running style, which is CJ or the normal ped running style, which is slower.
Reply
#8

Quote:
Originally Posted by edgargreat
Посмотреть сообщение
can't find that.
OMG. So you don't know where to put
Код:
UsePlayerPedAnims();
Код:
Step 1.

Open Pawno (pawno folder)

Step 2.

File, Open, Find your Gamemode Folder, Open gamemodes. Open YourGameMode.pwn

Step 3.

Ctrl+F, Type OnGameModeInit() then OK.

Step 4.

public OnGameModeInit()
{

   ///Many stuff
   UsePlayerPedAnims();
   return 1;
}

Step 5.

Compile or simply do F5
Reply
#9

I want a fast running style
Reply
#10

Код:
public OnGameModeInit()
{
	print("Gamemode started.");
	// Default Rates
	print("Gamemode started.");
	new a[][] =
	{
		"Unarmed (Fist)",
		"Brass K"
	};
	#pragma unused a
	print("Gamemode started.");
	tollstatus = 0;
	tollopen = 0;
	carrieronestatus = 0;
	carriertwostatus = 0;
	//InitDatabase();
	//Audio_SetPack("default_pack", true);
	djson_GameModeInit();
	EnableStuntBonusForAll(0);
	new servergmtextstr[128];
	format(servergmtextstr, 128, "gamemodetext %s", SERVER_GM_TEXT);
	SendRconCommand(servergmtextstr); // DO NOT REMOVE THIS
	new string[42];
	new string1[MAX_PLAYER_NAME];
	ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED);
	DisableInteriorEnterExits();
	InitTurfWars();
	LoadTurfWars();
	InitPaintballArenas();
	LoadPaintballArenas();
	InitEventPoints();
	LoadEventPoints();
	LoadDynamicDoors();
	LoadDynamicMapIcons();
	LoadHouses();
	LoadGates();
	LoadBiz();
	LoadBoxer();
	LoadStuff();
	print("test111222.");
	LoadElevatorStuff();
	LoadServerStats();
	LoadThePay();
	LoadFamilies();
	LoadPoints();
	LoadcDealerships();
	print("22247.");

	for(new f = 0; f < sizeof(FamilyInfo); f++)
	{
		for(new fv = 0; fv < MAX_GANG_VEHICLES; fv++)
		{
			FamilyVehicleInfo[f][fv][fvModelId] = 0;
			FamilyVehicleInfo[f][fv][fvSpawnx] = 0.0;
			FamilyVehicleInfo[f][fv][fvSpawny] = 0.0;
			FamilyVehicleInfo[f][fv][fvSpawnz] = 0.0;
			FamilyVehicleInfo[f][fv][fvSpawna] = 0.0;
			FamilyVehicleInfo[f][fv][fvPaintJob] = -1;
			FamilyVehicleInfo[f][fv][fvColor1] = 126;
			FamilyVehicleInfo[f][fv][fvColor2] = 126;
			FamilyVehicleInfo[f][fv][fvPrice] = 0;
			FamilyVehicleInfo[f][fv][fvFuel] = 100.00;
			FamilyVehicleInfo[f][fv][fvId] = INVALID_VEHICLE_ID;
		}
	}
	print("1222222222222222.");
	LoadFamiliesHQ();
	LoadMOTDs();
	ClearReports();
	SetNameTagDrawDistance(60.0);
	print("t4444est.");
	GiftAllowed = 1;
	News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
	format(string, sizeof(string), "Nothing");
	strmid(News[hAdd1], string, 0, strlen(string), 255);
	strmid(News[hAdd2], string, 0, strlen(string), 255);
	strmid(News[hAdd3], string, 0, strlen(string), 255);
	strmid(News[hAdd4], string, 0, strlen(string), 255);
	strmid(News[hAdd5], string, 0, strlen(string), 255);
	format(string1, sizeof(string1), "No-one");
	strmid(News[hContact1], string1, 0, strlen(string1), 255);
	strmid(News[hContact2], string1, 0, strlen(string1), 255);
	strmid(News[hContact3], string1, 0, strlen(string1), 255);
	strmid(News[hContact4], string1, 0, strlen(string1), 255);
	strmid(News[hContact5], string1, 0, strlen(string1), 255);
	PlayerHaul[43][pCapasity] = 100;
	PlayerHaul[44][pCapasity] = 100;
	PlayerHaul[45][pCapasity] = 50;
	PlayerHaul[46][pCapasity] = 50;
	format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
	format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
	gettime(ghour, gminute, gsecond);
	FixHour(ghour);
	print("testhere.");
	ghour = shifthour;

	if(!realtime)
	{
//		SetWorldTime(wtime);
		gTime = wtime;
	}

	AllowInteriorWeapons(1);

	// CreatedCars check
	for(new i = 0; i < sizeof(CreatedCars); i++)
	{
		CreatedCars[i] = INVALID_VEHICLE_ID;
	}
	for(new v = 0; v < MAX_VEHICLES; v++)
	{
		VehicleFuel[v] = 100.0;
	}

   	/*
	Migz Map
	*/
	MapsTD = TextDrawCreate (10.0, 440.0, "San Andreas Maps, all rights reserved.");
	TextDrawSetShadow (MapsTD, 0);
	TextDrawUseBox (MapsTD, 1);
	TextDrawBoxColor (MapsTD, 0x00000022);
	TextDrawLetterSize (MapsTD, 0.3, 0.7);
	TextDrawTextSize (MapsTD, 300, 400);

	MapsAltimeterPlus = TextDrawCreate (10.0, 100.0, "~b~+");
	TextDrawSetShadow (MapsAltimeterPlus, 0);
	TextDrawLetterSize (MapsAltimeterPlus, 0.3, 0.7);
	TextDrawUseBox (MapsAltimeterPlus, 1);
	TextDrawBoxColor (MapsAltimeterPlus, 0xFFFFFFAA);
	TextDrawTextSize (MapsAltimeterPlus, 17.0, 8.0);

	MapsAltimeterMinus = TextDrawCreate (11.0, 200.0, "~b~-");
	TextDrawSetShadow (MapsAltimeterMinus, 0);
	TextDrawLetterSize (MapsAltimeterMinus, 0.3, 0.7);
	TextDrawUseBox (MapsAltimeterMinus, 1);
	TextDrawBoxColor (MapsAltimeterMinus, 0xFFFFFFAA);
	TextDrawTextSize (MapsAltimeterMinus, 17.0, 8.0);

	MapsAltimeterLines = TextDrawCreate (10.7, 109.0, "-~n~-~n~-~n~-~n~-~n~-~n~-~n~-~n~-~n~-~n~-~n~-~n~-~n~-");
	TextDrawSetShadow (MapsAltimeterLines, 0);
	TextDrawLetterSize (MapsAltimeterLines, 0.4, 0.7);

	for (new i = 0; i < MAX_PLAYERS; i++)
	{
		Coords [i] = TextDrawCreate (400.0, 430.0, "  Location: ~n~Coordinates:");
		TextDrawSetShadow (Coords [i], 0);
 		TextDrawLetterSize (Coords [i], 0.3, 0.7);

		MapsMainAltLine [i] = TextDrawCreate (9.7, 102.8, " ");
		TextDrawLetterSize (MapsMainAltLine [i], 0.6, 0.7);

	    Degrees [i] = 0.0;
	    CheckingMap [i] = 0;
	    LookAt [i][0] = 0.0;
	    LookAt [i][1] = 0.0;
	    LookAt [i][2] = 0.0;
	}
Here is it.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)