I need a little help converting a .map to an fs
#1

Hello fellow players/scripters today i made my first map and i would like to convert it from .map to .fs if any one is able to help i would apreacate it alot (sorry for the spelling my grammer is rubbish)

if you need the code i will supply the code if asked

Thanks in advance
Reply
#2

http://convertffs.com/objects/
Reply
#3

thank you so much
Reply
#4

You're welcome.
Reply
#5

hi again i just used that site and it wont convert it
Reply
#6

Quote:
Originally Posted by harryb125
hi again i just used that site and it wont convert it
so try to use streamer!
Reply
#7

streamer ? :S where do i get one that will stream a .map?

i finally converted it but im a little confused how to put it into a .pwn
Код:
CreateObject(17635, 260.14190673828, 2941.6032714844, 3.2260589599609, 0.000000, 0.000000, 1.9849853515625); //
CreateObject(17635, 258.99136352539, 2978.625, 3.576530456543, 0.000000, 0.000000, 359.28308105469); //
CreateObject(17635, 205.96025085449, 2960.4868164063, 3.5549774169922, 0.000000, 0.000000, 0.000000); //
CreateObject(17635, 205.54312133789, 2991.2202148438, 2.4356727600098, 0.000000, 0.000000, 0.000000); //
CreateObject(17635, 259.72045898438, 3015.0393066406, 3.1372833251953, 0.000000, 0.000000, 1.9849853515625); //
CreateObject(987, 258.27661132813, 2921.974609375, 3.0284423828125, 0.000000, 0.000000, 0.000000); //
CreateObject(987, 176.10090637207, 2970.6000976563, 2.8564550876617, 0.000000, 0.000000, 91.309509277344); //
CreateObject(987, 176.525390625, 2947.064453125, 2.874942779541, 0.000000, 0.000000, 91.307373046875); //
CreateObject(987, 176.2744140625, 2958.7607421875, 2.8698949813843, 0.000000, 0.000000, 91.307373046875); //
CreateObject(987, 176.37475585938, 2981.9272460938, 1.7739238739014, 0.000000, 0.000000, 91.307373046875); //
CreateObject(987, 176.15972900391, 2993.8674316406, 1.7801465988159, 0.000000, 0.000000, 91.307373046875); //
CreateObject(987, 188.33676147461, 3005.6508789063, 2.8796405792236, 0.000000, 0.000000, 178.64709472656); //
CreateObject(987, 200.32182312012, 3005.3833007813, 2.9698314666748, 0.000000, 0.000000, 178.64318847656); //
CreateObject(987, 211.81620788574, 3004.9604492188, 2.5017890930176, 0.000000, 0.000000, 178.64318847656); //
CreateObject(987, 210.68840026855, 3013.3095703125, 2.9088821411133, 0.000000, 0.000000, 267.96765136719); //
CreateObject(987, 222.8189239502, 3012.6372070313, 2.5672378540039, 0.000000, 0.000000, 178.64318847656); //
CreateObject(987, 231.20185852051, 3012.248046875, 2.5546245574951, 0.000000, 0.000000, 178.6376953125); //
CreateObject(987, 231.36318969727, 3014.1865234375, 2.5766105651855, 0.000000, 0.000000, 91.2978515625); //
CreateObject(987, 230.46919250488, 3026.0966796875, 2.534236907959, 0.000000, 0.000000, 7.927001953125); //
CreateObject(987, 243.05143737793, 3027.3037109375, 3.6516208648682, 0.000000, 0.000000, 7.9266357421875); //
CreateObject(987, 253.80360412598, 3028.6186523438, 3.6872711181641, 0.000000, 0.000000, 7.9266357421875); //
CreateObject(987, 265.07824707031, 3030.4418945313, 3.2656688690186, 0.000000, 0.000000, 7.9266357421875); //
CreateObject(987, 276.24807739258, 3032.3012695313, 2.5696220397949, 0.000000, 0.000000, 7.9266357421875); //
CreateObject(987, 286.56964111328, 3033.0297851563, 2.536376953125, 0.000000, 0.000000, 278.60229492188); //
CreateObject(987, 288.05685424805, 3022.3173828125, 2.54421043396, 0.000000, 0.000000, 278.59680175781); //
CreateObject(987, 289.00729370117, 3010.9401855469, 2.5349216461182, 0.000000, 0.000000, 272.64184570313); //
CreateObject(987, 289.20401000977, 2999.482421875, 2.8788142204285, 0.000000, 0.000000, 272.63671875); //
CreateObject(987, 288.67306518555, 2987.6611328125, 2.9435319900513, 0.000000, 0.000000, 272.63671875); //
CreateObject(987, 288.50271606445, 2976.3381347656, 2.9340891838074, 0.000000, 0.000000, 272.63671875); //
CreateObject(987, 289.13482666016, 2963.912109375, 2.5549840927124, 0.000000, 0.000000, 272.63671875); //
CreateObject(987, 289.65573120117, 2951.8901367188, 2.5421810150146, 0.000000, 0.000000, 272.63671875); //
CreateObject(969, 246.2465057373, 2921.7287597656, 2.7971820831299, 0.000000, 0.000000, 0.000000); //
CreateObject(969, 255.11944580078, 2921.9445800781, 2.9544544219971, 0.000000, 0.000000, 0.000000); //
CreateObject(3885, 226.21658325195, 2953.52734375, 3.7553286552429, 0.000000, 0.000000, 0.000000); //
CreateObject(16093, 264.26028442383, 2929.6315917969, 7.6242237091064, 0.000000, 0.000000, 268.69067382813); //
CreateObject(3279, 243.11163330078, 2939.7775878906, 3.5223045349121, 0.000000, 0.000000, 0.000000); //
CreateObject(3939, 282.64102172852, 3025.09765625, 4.318115234375, 0.000000, 0.000000, 272.66064453125); //
CreateObject(3939, 276.67352294922, 3024.5764160156, 4.3391876220703, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 270.7698059082, 3024.3911132813, 4.3260145187378, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 264.1985168457, 3022.9348144531, 5.2233686447144, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 258.37268066406, 3022.662109375, 5.1351308822632, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 252.18209838867, 3021.3330078125, 5.4324588775635, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 246.41879272461, 3020.7316894531, 5.4680738449097, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 240.63075256348, 3020.4809570313, 5.1840257644653, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 234.76440429688, 3020.3100585938, 4.6828923225403, 0.000000, 0.000000, 272.65869140625); //
CreateObject(3939, 181.5556640625, 3000.3273925781, 4.0618395805359, 0.000000, 0.000000, 359.998046875); //
CreateObject(3939, 181.15589904785, 2991.0153808594, 3.9908041954041, 0.000000, 0.000000, 359.99450683594); //
CreateObject(3939, 181.90283203125, 2979.7666015625, 3.8338491916656, 0.000000, 0.000000, 359.99450683594); //
CreateObject(3939, 182.52560424805, 2970.7678222656, 5.2394094467163, 0.000000, 0.000000, 359.99450683594); //
CreateObject(3939, 182.32432556152, 2960.0239257813, 5.1685066223145, 0.000000, 0.000000, 359.99450683594); //
CreateObject(3928, 223.09371948242, 3004.3764648438, 1.8720188140869, 0.000000, 0.000000, 0.000000); //
CreateObject(3928, 223.25476074219, 2986.6372070313, 1.8708209991455, 0.000000, 0.000000, 0.000000); //
CreateObject(3928, 222.83831787109, 2974.1560058594, 2.9911842346191, 0.000000, 0.000000, 0.000000); //
CreateObject(3928, 278.5764465332, 2971.6022949219, 3.0061435699463, 0.000000, 0.000000, 0.000000); //
CreateObject(3928, 279.10729980469, 2991.431640625, 3.0052471160889, 0.000000, 0.000000, 0.000000); //
CreateObject(2985, 267.45571899414, 2926.9790039063, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 266.72277832031, 2926.9997558594, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 266.08605957031, 2927.0788574219, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 265.40112304688, 2926.9951171875, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 264.68823242188, 2926.9675292969, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 264.02914428711, 2926.6752929688, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 263.33532714844, 2926.6994628906, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(2985, 262.61825561523, 2926.7734375, 11.007036209106, 0.000000, 0.000000, 270.67565917969); //
CreateObject(3267, 226.32339477539, 2953.3347167969, 4.2553286552429, 0.000000, 0.000000, 0.000000); //
CreateObject(3267, 280.25811767578, 2955.5773925781, 3.9170105457306, 0.000000, 0.000000, 0.000000); //
CreateObject(3885, 280.4655456543, 2955.5388183594, 3.4247028827667, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 269.13766479492, 2916.0705566406, 5.131477355957, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 264.90042114258, 2913.3239746094, 5.2019004821777, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 267.52459716797, 2909.0366210938, 6.161563873291, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 259.84985351563, 2908.9050292969, 5.4777297973633, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 267.45999145508, 2901.5390625, 7.4117126464844, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 259.80136108398, 2901.1625976563, 6.9931526184082, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 258.68319702148, 2895.5856933594, 9.3072395324707, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 264.97607421875, 2906.8901367188, 6.2867813110352, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 261.33999633789, 2906.021484375, 6.0979118347168, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 269.40762329102, 2905.3518066406, 6.9520721435547, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 261.8528137207, 2912.0791015625, 5.1301689147949, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 264.47073364258, 2909.4711914063, 5.8078956604004, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 270.98611450195, 2912.4772949219, 5.903491973877, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 261.31881713867, 2924.7934570313, 7.7570362091064, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 261.71194458008, 2926.3935546875, 10.690975189209, 0.000000, 0.000000, 0.000000); //
CreateObject(3265, 267.98355102539, 2926.3022460938, 10.68408203125, 0.000000, 0.000000, 0.000000); //


AddStaticVehicle(470, 283.20281982422, 2947.0476074219, 3.9635348320007, 0.000000, -1, -1); //0
AddStaticVehicle(470, 280.02215576172, 2947.197265625, 3.9124369621277, 0.000000, -1, -1); //1
AddStaticVehicle(470, 277.6774597168, 2936.3698730469, 3.7759971618652, 0.000000, -1, -1); //2
AddStaticVehicle(470, 273.41906738281, 2936.2687988281, 3.7745237350464, 0.000000, -1, -1); //3
AddStaticVehicle(470, 276.48797607422, 2946.9348144531, 3.9497904777527, 0.000000, -1, -1); //4
AddStaticVehicle(470, 272.76773071289, 2946.9001464844, 3.9203615188599, 0.000000, -1, -1); //5
AddStaticVehicle(470, 189.55023193359, 2952.1125488281, 4.7393789291382, 0.000000, -1, -1); //6
AddStaticVehicle(470, 194.16412353516, 2950.9052734375, 4.7047696113586, 0.000000, -1, -1); //7
AddStaticVehicle(470, 199.23799133301, 2950.7355957031, 4.661003112793, 0.000000, -1, -1); //8
AddStaticVehicle(470, 206.16860961914, 2949.4516601563, 4.6386666297913, 0.000000, -1, -1); //9
AddStaticVehicle(470, 212.56631469727, 2948.1286621094, 4.4378080368042, 0.000000, -1, -1); //10
AddStaticVehicle(470, 218.84643554688, 2948.4606933594, 4.0933322906494, 0.000000, -1, -1); //11
AddStaticVehicle(548, 226.37602233887, 3004.1018066406, 4.7616620063782, 266.70568847656, -1, -1); //12
AddStaticVehicle(548, 222.02674865723, 2987.7587890625, 4.7728261947632, 266.7041015625, -1, -1); //13
AddStaticVehicle(563, 276.55136108398, 2991.4523925781, 4.6891117095947, 87.33935546875, -1, -1); //14
AddStaticVehicle(563, 276.33129882813, 2971.6081542969, 4.689022064209, 87.335815429688, -1, -1); //15
AddStaticVehicle(425, 223.23843383789, 2974.0627441406, 4.8442869186401, 270.67565917969, -1, -1); //16
AddStaticVehicle(432, 236.70425415039, 3011.3098144531, 4.0590043067932, 181.35119628906, -1, -1); //17
AddStaticVehicle(432, 242.87838745117, 3011.8869628906, 4.4987154006958, 181.34582519531, -1, -1); //18
AddStaticVehicle(432, 248.57600402832, 3012.0197753906, 4.5571603775024, 181.34582519531, -1, -1); //19
AddStaticVehicle(432, 254.20542907715, 3012.1345214844, 4.4987692832947, 181.34582519531, -1, -1); //20
AddStaticVehicle(432, 259.98358154297, 3012.1203613281, 4.1848888397217, 181.34582519531, -1, -1); //21
AddStaticVehicle(432, 266.12228393555, 3012.2331542969, 4.2506966590881, 181.34582519531, -1, -1); //22
AddStaticVehicle(432, 271.92797851563, 3012.8771972656, 3.677818775177, 181.34582519531, -1, -1); //23
AddStaticVehicle(432, 277.41180419922, 3012.9887695313, 3.6702938079834, 181.34582519531, -1, -1); //24
AddStaticVehicle(432, 283.38067626953, 3013.7756347656, 3.6463136672974, 181.34582519531, -1, -1); //25
Reply
#8

Just copy them at OnGameModeInit if it's a gamemode or at OnFilterScriptInit if it's a filterscript.
Reply
#9

thanks ur all are life savers i will post my creation soon


can i delete
Код:
#else

main()
{
	print("\n----------------------------------");
	print(" Blank Gamemode by your name here");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}

public OnPlayerConnect(playerid)
{
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		// Do something here
		return 1;
	}
	return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}
that lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)