My Filterscript makes it so no server commands work (IE. Commands in the GM)
#1

Here is the code. (PS. I go by many names, EasyE is one, and so is Kalgon, not to be confused with Calgon)
pawn Code:
//-------------------------------------------------
//         EasyE's Maps all into one FS
//-------------------------------------------------

#include <a_samp>


//------------------------/edm-------------------------

public OnFilterScriptInit()
{
CreateObject(19272, 43.86, 2238.46, 122.83,   0.00, 0.00, 0.00);
CreateObject(96, 35.83, 2238.32, 126.65,   90.00, 0.00, 244.82);
CreateObject(2971, 30.66, 2235.61, 125.53,   0.00, 0.00, 0.00);
CreateObject(2971, 37.82, 2240.57, 125.33,   0.00, 0.00, 0.00);
CreateObject(1304, 49.34, 2219.13, 123.20,   0.00, 0.00, 0.00);
CreateObject(11498, 23.46, 2239.28, 105.69,   0.00, 0.00, 228.91);
CreateObject(19173, 58.72, 2219.17, 127.82,   0.00, 0.00, 220.70);
CreateObject(19174, 68.06, 2241.27, 126.17,   0.00, 0.00, 278.69);
CreateObject(1583, 39.40, 2245.98, 125.39,   0.00, 0.00, 320.72);
CreateObject(1584, 37.46, 2234.96, 125.48,   0.00, 0.00, 204.36);

//---------------------------------/aarace---------------------------------------------//
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(18761, -74.61, 2517.83, 15.45,   0.00, 0.00, 88.85);
CreateObject(18761, -75.53, 2489.64, 15.45,   0.00, 0.00, 88.85);
CreateObject(979, -71.11, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -61.79, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -52.40, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -43.14, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -33.76, 2503.85, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -24.48, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -15.20, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -5.90, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 3.06, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 12.35, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 21.70, 2503.84, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 30.92, 2503.79, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 40.20, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 49.52, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 58.74, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 67.82, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 77.07, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 86.37, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 95.19, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 104.41, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 113.60, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 122.85, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 132.12, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 141.24, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 150.49, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 159.59, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 168.82, 2503.67, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 178.05, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 187.31, 2503.61, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 196.63, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 205.96, 2503.73, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 215.21, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 224.55, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 243.02, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 252.18, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 261.42, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 270.45, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 279.61, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 288.91, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 298.09, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 307.21, 2503.63, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 316.52, 2503.52, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 325.49, 2503.51, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 334.55, 2503.49, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 343.59, 2503.45, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 352.74, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 361.91, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 371.02, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 380.22, 2503.42, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 389.32, 2503.44, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 398.66, 2503.41, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 402.91, 2503.48, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 406.81, 2499.16, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.92, 2490.64, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.41, 2481.35, 16.27,   0.00, 0.00, 87.87);
CreateObject(5005, 295.21, 2475.44, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 133.26, 2475.54, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -12.42, 2475.53, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -2.87, 2529.33, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 160.07, 2529.11, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 322.03, 2528.81, 18.57,   0.00, 0.00, 0.00);
CreateObject(975, 409.34, 2528.65, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 418.01, 2528.71, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 426.69, 2528.79, 17.22,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 432.08, 2528.80, 17.17,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.30, 2515.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.35, 2506.90, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.42, 2498.32, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.47, 2489.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.44, 2487.26, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 433.63, 2479.54, 16.98,   0.00, 0.00, 50.27);
CreateObject(4511, -93.39, 2499.62, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -90.24, 2522.34, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -87.58, 2500.41, 20.29,   0.00, 0.00, 0.00);
CreateVehicle(411, 423.0083, 2473.4250, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0075, 2470.8225, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 422.8855, 2468.2598, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0081, 2465.5015, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0469, 2462.9016, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0240, 2460.3806, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.1412, 2457.8618, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 407.8481, 2473.9900, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8902, 2468.8232, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8780, 2471.4280, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8217, 2466.3162, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8283, 2463.8940, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.7971, 2461.4111, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8316, 2458.7705, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(451, 386.5287, 2473.9834, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.6444, 2471.5615, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7610, 2469.2202, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7164, 2466.7610, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7120, 2464.3208, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5862, 2461.7415, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5406, 2459.1821, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.3544, 2456.5635, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 402.0586, 2474.5002, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9017, 2472.1711, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7365, 2469.7988, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.6635, 2467.4587, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7988, 2465.0115, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9122, 2462.6440, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9093, 2460.2346, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.8510, 2457.8672, 15.9964, 91.1513, -1, -1, 100);
//-------------------------------------------------------------------------//
//bikestunt//
CreateObject(18769, -2973.62, -154.14, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2973.25, -134.98, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.54, -134.31, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.21, -153.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.95, -172.90, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2974.74, -173.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.09, -114.85, -0.07,   0.00, 0.00, 358.86);
CreateObject(18769, -2973.00, -115.17, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.52, -115.63, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.93, -134.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2954.81, -154.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2955.29, -174.20, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2991.77, -104.62, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2971.94, -104.91, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2953.20, -105.29, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2944.12, -115.91, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2944.44, -135.48, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.27, -155.12, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.72, -174.65, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2955.45, -183.04, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2974.90, -182.68, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2994.31, -182.12, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -3003.97, -172.57, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.74, -152.93, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.16, -133.13, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3002.60, -114.11, 9.49,   -90.00, 90.00, 358.73);
CreateObject(13637, -2993.30, -113.13, 2.51,   0.00, 0.00, 267.39);
CreateObject(13641, -2993.12, -158.97, 2.25,   0.00, 0.00, 87.69);
CreateObject(13641, -2977.94, -159.17, 2.25,   0.00, 0.00, 87.69);
CreateObject(18786, -2954.45, -155.41, 2.93,   0.00, 0.00, 267.39);
CreateObject(18786, -2953.60, -135.50, 2.93,   0.00, 0.00, 87.66);
CreateObject(16304, -2972.67, -115.36, 4.85,   0.00, 0.00, 0.00);
CreateObject(16304, -2994.60, -110.08, 0.55,   0.00, 0.00, 0.00);
CreateVehicle(522, -3001.8313, -179.6524, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -3000.8657, -179.8635, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2999.8286, -180.0747, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2998.8027, -180.3024, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2997.7205, -180.5193, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2996.9492, -180.8413, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(581, -2992.8640, -181.2716, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2991.7795, -181.2277, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.9023, -181.5719, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.2261, -181.4945, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2989.4060, -181.8498, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2988.3589, -181.8280, 0.8819, 0.0000, -1, -1, 100);
//END//
    return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{

 if(strcmp(cmdtext,"/edm",true)==0)
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
    return 1;
}

if(strcmp(cmdtext,"/aarace",true)==0)
    {
        SetPlayerPos(playerid,405.1651,2457.1814,18.6181,89.5900);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Vehicle!",2500,3);
return 1;

}
if(strcmp(cmdtext,"/bikestunt",true)==0)
    {
        SetPlayerPos(playerid,-2994.9941,-181.7126,1.5941,1.5429);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Motorcycle!",2500,3);
    }
return 1;

if(strcmp(cmdtext,"/maps",true)==0)
    {
        GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
    }
return 1;

return 0;
}
As released, used to work fine but now it doesn't, any ideas?
Reply
#2

Doesn't that give an 'unreachable code' error?
Reply
#3

Gives these warnings.
pawn Code:
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(198) : warning 217: loose indentation
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(214) : warning 217: loose indentation
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(216) : warning 225: unreachable code
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(216) : warning 217: loose indentation
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(218) : warning 202: number of arguments does not match definition
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(225) : warning 225: unreachable code
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(227) : warning 202: number of arguments does not match definition
C:\Users\mom\Desktop\CNR\filterscripts\emaps.pwn(234) : warning 225: unreachable code
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


8 Warnings.
Yes, I am 14, I use my mom's computer, GET OVER IT, MINE FRIED FROM MINECRAFT!
Reply
#4

try this one
pawn Code:
//-------------------------------------------------
//         EasyE's Maps all into one FS
//-------------------------------------------------

#include <a_samp>
#pragma tabsize 0


//------------------------/edm-------------------------

public OnFilterScriptInit()
{
CreateObject(19272, 43.86, 2238.46, 122.83,   0.00, 0.00, 0.00);
CreateObject(96, 35.83, 2238.32, 126.65,   90.00, 0.00, 244.82);
CreateObject(2971, 30.66, 2235.61, 125.53,   0.00, 0.00, 0.00);
CreateObject(2971, 37.82, 2240.57, 125.33,   0.00, 0.00, 0.00);
CreateObject(1304, 49.34, 2219.13, 123.20,   0.00, 0.00, 0.00);
CreateObject(11498, 23.46, 2239.28, 105.69,   0.00, 0.00, 228.91);
CreateObject(19173, 58.72, 2219.17, 127.82,   0.00, 0.00, 220.70);
CreateObject(19174, 68.06, 2241.27, 126.17,   0.00, 0.00, 278.69);
CreateObject(1583, 39.40, 2245.98, 125.39,   0.00, 0.00, 320.72);
CreateObject(1584, 37.46, 2234.96, 125.48,   0.00, 0.00, 204.36);

//---------------------------------/aarace---------------------------------------------//
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(18761, -74.61, 2517.83, 15.45,   0.00, 0.00, 88.85);
CreateObject(18761, -75.53, 2489.64, 15.45,   0.00, 0.00, 88.85);
CreateObject(979, -71.11, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -61.79, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -52.40, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -43.14, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -33.76, 2503.85, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -24.48, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -15.20, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -5.90, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 3.06, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 12.35, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 21.70, 2503.84, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 30.92, 2503.79, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 40.20, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 49.52, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 58.74, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 67.82, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 77.07, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 86.37, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 95.19, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 104.41, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 113.60, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 122.85, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 132.12, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 141.24, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 150.49, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 159.59, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 168.82, 2503.67, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 178.05, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 187.31, 2503.61, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 196.63, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 205.96, 2503.73, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 215.21, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 224.55, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 243.02, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 252.18, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 261.42, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 270.45, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 279.61, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 288.91, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 298.09, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 307.21, 2503.63, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 316.52, 2503.52, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 325.49, 2503.51, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 334.55, 2503.49, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 343.59, 2503.45, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 352.74, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 361.91, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 371.02, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 380.22, 2503.42, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 389.32, 2503.44, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 398.66, 2503.41, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 402.91, 2503.48, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 406.81, 2499.16, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.92, 2490.64, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.41, 2481.35, 16.27,   0.00, 0.00, 87.87);
CreateObject(5005, 295.21, 2475.44, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 133.26, 2475.54, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -12.42, 2475.53, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -2.87, 2529.33, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 160.07, 2529.11, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 322.03, 2528.81, 18.57,   0.00, 0.00, 0.00);
CreateObject(975, 409.34, 2528.65, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 418.01, 2528.71, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 426.69, 2528.79, 17.22,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 432.08, 2528.80, 17.17,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.30, 2515.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.35, 2506.90, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.42, 2498.32, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.47, 2489.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.44, 2487.26, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 433.63, 2479.54, 16.98,   0.00, 0.00, 50.27);
CreateObject(4511, -93.39, 2499.62, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -90.24, 2522.34, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -87.58, 2500.41, 20.29,   0.00, 0.00, 0.00);
CreateVehicle(411, 423.0083, 2473.4250, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0075, 2470.8225, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 422.8855, 2468.2598, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0081, 2465.5015, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0469, 2462.9016, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0240, 2460.3806, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.1412, 2457.8618, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 407.8481, 2473.9900, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8902, 2468.8232, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8780, 2471.4280, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8217, 2466.3162, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8283, 2463.8940, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.7971, 2461.4111, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8316, 2458.7705, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(451, 386.5287, 2473.9834, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.6444, 2471.5615, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7610, 2469.2202, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7164, 2466.7610, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7120, 2464.3208, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5862, 2461.7415, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5406, 2459.1821, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.3544, 2456.5635, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 402.0586, 2474.5002, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9017, 2472.1711, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7365, 2469.7988, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.6635, 2467.4587, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7988, 2465.0115, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9122, 2462.6440, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9093, 2460.2346, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.8510, 2457.8672, 15.9964, 91.1513, -1, -1, 100);
//-------------------------------------------------------------------------//
//bikestunt//
CreateObject(18769, -2973.62, -154.14, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2973.25, -134.98, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.54, -134.31, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.21, -153.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.95, -172.90, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2974.74, -173.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.09, -114.85, -0.07,   0.00, 0.00, 358.86);
CreateObject(18769, -2973.00, -115.17, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.52, -115.63, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.93, -134.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2954.81, -154.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2955.29, -174.20, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2991.77, -104.62, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2971.94, -104.91, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2953.20, -105.29, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2944.12, -115.91, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2944.44, -135.48, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.27, -155.12, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.72, -174.65, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2955.45, -183.04, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2974.90, -182.68, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2994.31, -182.12, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -3003.97, -172.57, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.74, -152.93, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.16, -133.13, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3002.60, -114.11, 9.49,   -90.00, 90.00, 358.73);
CreateObject(13637, -2993.30, -113.13, 2.51,   0.00, 0.00, 267.39);
CreateObject(13641, -2993.12, -158.97, 2.25,   0.00, 0.00, 87.69);
CreateObject(13641, -2977.94, -159.17, 2.25,   0.00, 0.00, 87.69);
CreateObject(18786, -2954.45, -155.41, 2.93,   0.00, 0.00, 267.39);
CreateObject(18786, -2953.60, -135.50, 2.93,   0.00, 0.00, 87.66);
CreateObject(16304, -2972.67, -115.36, 4.85,   0.00, 0.00, 0.00);
CreateObject(16304, -2994.60, -110.08, 0.55,   0.00, 0.00, 0.00);
CreateVehicle(522, -3001.8313, -179.6524, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -3000.8657, -179.8635, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2999.8286, -180.0747, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2998.8027, -180.3024, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2997.7205, -180.5193, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2996.9492, -180.8413, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(581, -2992.8640, -181.2716, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2991.7795, -181.2277, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.9023, -181.5719, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.2261, -181.4945, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2989.4060, -181.8498, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2988.3589, -181.8280, 0.8819, 0.0000, -1, -1, 100);
//END//
    return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{

 if(strcmp(cmdtext,"/edm",true) )
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
    return 1;
}

if(strcmp(cmdtext,"/aarace",true) )
    {
        SetPlayerPos(playerid,405.1651,2457.1814,18.6181);
        SetPlayerFacingAngle(playerid,89.5900);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Vehicle!",2500,3);
return 1;

}
if(strcmp(cmdtext,"/bikestunt",true) )
    {
        SetPlayerPos(playerid,-2994.9941,-181.7126,1.5941);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Motorcycle!",2500,3);
        return 1;
    }


if(strcmp(cmdtext,"/maps",true) )
    {
        GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
        return 1;
    }
return 0;
}
Reply
#5

Can I know what lines you changed for the future, if it works I will add credits in my release. And REP+ you.
Reply
#6

Yes MP2:

Code:
C:\Users\graham\Desktop\Test.pwn(198) : warning 217: loose indentation
C:\Users\graham\Desktop\Test.pwn(213) : warning 217: loose indentation
C:\Users\graham\Desktop\Test.pwn(216) : warning 217: loose indentation
C:\Users\graham\Desktop\Test.pwn(218) : warning 202: number of arguments does not match definition
C:\Users\graham\Desktop\Test.pwn(222) : warning 217: loose indentation
C:\Users\graham\Desktop\Test.pwn(227) : warning 202: number of arguments does not match definition
C:\Users\graham\Desktop\Test.pwn(234) : warning 225: unreachable code
C:\Users\graham\Desktop\Test.pwn(240) : warning 225: unreachable code
pawn Code:
//-------------------------------------------------
//         EasyE's Maps all into one FS
//-------------------------------------------------

#include <a_samp>


//------------------------/edm-------------------------

public OnFilterScriptInit()
{
CreateObject(19272, 43.86, 2238.46, 122.83,   0.00, 0.00, 0.00);
CreateObject(96, 35.83, 2238.32, 126.65,   90.00, 0.00, 244.82);
CreateObject(2971, 30.66, 2235.61, 125.53,   0.00, 0.00, 0.00);
CreateObject(2971, 37.82, 2240.57, 125.33,   0.00, 0.00, 0.00);
CreateObject(1304, 49.34, 2219.13, 123.20,   0.00, 0.00, 0.00);
CreateObject(11498, 23.46, 2239.28, 105.69,   0.00, 0.00, 228.91);
CreateObject(19173, 58.72, 2219.17, 127.82,   0.00, 0.00, 220.70);
CreateObject(19174, 68.06, 2241.27, 126.17,   0.00, 0.00, 278.69);
CreateObject(1583, 39.40, 2245.98, 125.39,   0.00, 0.00, 320.72);
CreateObject(1584, 37.46, 2234.96, 125.48,   0.00, 0.00, 204.36);

//---------------------------------/aarace---------------------------------------------//
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(18761, -74.61, 2517.83, 15.45,   0.00, 0.00, 88.85);
CreateObject(18761, -75.53, 2489.64, 15.45,   0.00, 0.00, 88.85);
CreateObject(979, -71.11, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -61.79, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -52.40, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -43.14, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -33.76, 2503.85, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -24.48, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -15.20, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -5.90, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 3.06, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 12.35, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 21.70, 2503.84, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 30.92, 2503.79, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 40.20, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 49.52, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 58.74, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 67.82, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 77.07, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 86.37, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 95.19, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 104.41, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 113.60, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 122.85, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 132.12, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 141.24, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 150.49, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 159.59, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 168.82, 2503.67, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 178.05, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 187.31, 2503.61, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 196.63, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 205.96, 2503.73, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 215.21, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 224.55, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 243.02, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 252.18, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 261.42, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 270.45, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 279.61, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 288.91, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 298.09, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 307.21, 2503.63, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 316.52, 2503.52, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 325.49, 2503.51, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 334.55, 2503.49, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 343.59, 2503.45, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 352.74, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 361.91, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 371.02, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 380.22, 2503.42, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 389.32, 2503.44, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 398.66, 2503.41, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 402.91, 2503.48, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 406.81, 2499.16, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.92, 2490.64, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.41, 2481.35, 16.27,   0.00, 0.00, 87.87);
CreateObject(5005, 295.21, 2475.44, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 133.26, 2475.54, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -12.42, 2475.53, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -2.87, 2529.33, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 160.07, 2529.11, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 322.03, 2528.81, 18.57,   0.00, 0.00, 0.00);
CreateObject(975, 409.34, 2528.65, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 418.01, 2528.71, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 426.69, 2528.79, 17.22,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 432.08, 2528.80, 17.17,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.30, 2515.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.35, 2506.90, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.42, 2498.32, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.47, 2489.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.44, 2487.26, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 433.63, 2479.54, 16.98,   0.00, 0.00, 50.27);
CreateObject(4511, -93.39, 2499.62, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -90.24, 2522.34, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -87.58, 2500.41, 20.29,   0.00, 0.00, 0.00);
CreateVehicle(411, 423.0083, 2473.4250, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0075, 2470.8225, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 422.8855, 2468.2598, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0081, 2465.5015, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0469, 2462.9016, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0240, 2460.3806, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.1412, 2457.8618, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 407.8481, 2473.9900, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8902, 2468.8232, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8780, 2471.4280, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8217, 2466.3162, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8283, 2463.8940, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.7971, 2461.4111, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8316, 2458.7705, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(451, 386.5287, 2473.9834, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.6444, 2471.5615, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7610, 2469.2202, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7164, 2466.7610, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7120, 2464.3208, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5862, 2461.7415, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5406, 2459.1821, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.3544, 2456.5635, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 402.0586, 2474.5002, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9017, 2472.1711, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7365, 2469.7988, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.6635, 2467.4587, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7988, 2465.0115, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9122, 2462.6440, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9093, 2460.2346, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.8510, 2457.8672, 15.9964, 91.1513, -1, -1, 100);
//-------------------------------------------------------------------------//
//bikestunt//
CreateObject(18769, -2973.62, -154.14, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2973.25, -134.98, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.54, -134.31, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.21, -153.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.95, -172.90, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2974.74, -173.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.09, -114.85, -0.07,   0.00, 0.00, 358.86);
CreateObject(18769, -2973.00, -115.17, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.52, -115.63, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.93, -134.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2954.81, -154.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2955.29, -174.20, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2991.77, -104.62, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2971.94, -104.91, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2953.20, -105.29, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2944.12, -115.91, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2944.44, -135.48, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.27, -155.12, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.72, -174.65, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2955.45, -183.04, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2974.90, -182.68, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2994.31, -182.12, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -3003.97, -172.57, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.74, -152.93, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.16, -133.13, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3002.60, -114.11, 9.49,   -90.00, 90.00, 358.73);
CreateObject(13637, -2993.30, -113.13, 2.51,   0.00, 0.00, 267.39);
CreateObject(13641, -2993.12, -158.97, 2.25,   0.00, 0.00, 87.69);
CreateObject(13641, -2977.94, -159.17, 2.25,   0.00, 0.00, 87.69);
CreateObject(18786, -2954.45, -155.41, 2.93,   0.00, 0.00, 267.39);
CreateObject(18786, -2953.60, -135.50, 2.93,   0.00, 0.00, 87.66);
CreateObject(16304, -2972.67, -115.36, 4.85,   0.00, 0.00, 0.00);
CreateObject(16304, -2994.60, -110.08, 0.55,   0.00, 0.00, 0.00);
CreateVehicle(522, -3001.8313, -179.6524, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -3000.8657, -179.8635, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2999.8286, -180.0747, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2998.8027, -180.3024, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2997.7205, -180.5193, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2996.9492, -180.8413, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(581, -2992.8640, -181.2716, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2991.7795, -181.2277, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.9023, -181.5719, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.2261, -181.4945, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2989.4060, -181.8498, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2988.3589, -181.8280, 0.8819, 0.0000, -1, -1, 100);
return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{

if(strcmp(cmdtext,"/edm",true)==0)
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
        return 1;
}

if(strcmp(cmdtext,"/aarace",true)==0)
    {
        SetPlayerPos(playerid,405.1651,2457.1814,18.6181,89.5900);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Vehicle!",2500,3);
        return 1;

    }
if(strcmp(cmdtext,"/bikestunt",true)==0)
    {
        SetPlayerPos(playerid,-2994.9941,181.7126,1.5941,1.5429);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Motorcycle!",2500,3);
        return 1;
    }


if(strcmp(cmdtext,"/maps",true)==0)
    {
        GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
        return 1;
    }

return 0;
}
Fixed up most of the warnings, 2 remain which are to do with SetPlayerPos.
Reply
#7

Umm, I tried this one
pawn Code:
//-------------------------------------------------
//         EasyE's Maps all into one FS
//-------------------------------------------------

#include <a_samp>
#pragma tabsize 0


//------------------------/edm-------------------------

public OnFilterScriptInit()
{
CreateObject(19272, 43.86, 2238.46, 122.83,   0.00, 0.00, 0.00);
CreateObject(96, 35.83, 2238.32, 126.65,   90.00, 0.00, 244.82);
CreateObject(2971, 30.66, 2235.61, 125.53,   0.00, 0.00, 0.00);
CreateObject(2971, 37.82, 2240.57, 125.33,   0.00, 0.00, 0.00);
CreateObject(1304, 49.34, 2219.13, 123.20,   0.00, 0.00, 0.00);
CreateObject(11498, 23.46, 2239.28, 105.69,   0.00, 0.00, 228.91);
CreateObject(19173, 58.72, 2219.17, 127.82,   0.00, 0.00, 220.70);
CreateObject(19174, 68.06, 2241.27, 126.17,   0.00, 0.00, 278.69);
CreateObject(1583, 39.40, 2245.98, 125.39,   0.00, 0.00, 320.72);
CreateObject(1584, 37.46, 2234.96, 125.48,   0.00, 0.00, 204.36);

//---------------------------------/aarace---------------------------------------------//
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(18761, -74.61, 2517.83, 15.45,   0.00, 0.00, 88.85);
CreateObject(18761, -75.53, 2489.64, 15.45,   0.00, 0.00, 88.85);
CreateObject(979, -71.11, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -61.79, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -52.40, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -43.14, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -33.76, 2503.85, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -24.48, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -15.20, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -5.90, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 3.06, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 12.35, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 21.70, 2503.84, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 30.92, 2503.79, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 40.20, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 49.52, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 58.74, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 67.82, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 77.07, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 86.37, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 95.19, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 104.41, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 113.60, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 122.85, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 132.12, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 141.24, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 150.49, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 159.59, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 168.82, 2503.67, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 178.05, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 187.31, 2503.61, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 196.63, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 205.96, 2503.73, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 215.21, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 224.55, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 243.02, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 252.18, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 261.42, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 270.45, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 279.61, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 288.91, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 298.09, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 307.21, 2503.63, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 316.52, 2503.52, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 325.49, 2503.51, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 334.55, 2503.49, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 343.59, 2503.45, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 352.74, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 361.91, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 371.02, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 380.22, 2503.42, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 389.32, 2503.44, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 398.66, 2503.41, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 402.91, 2503.48, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 406.81, 2499.16, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.92, 2490.64, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.41, 2481.35, 16.27,   0.00, 0.00, 87.87);
CreateObject(5005, 295.21, 2475.44, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 133.26, 2475.54, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -12.42, 2475.53, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -2.87, 2529.33, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 160.07, 2529.11, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 322.03, 2528.81, 18.57,   0.00, 0.00, 0.00);
CreateObject(975, 409.34, 2528.65, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 418.01, 2528.71, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 426.69, 2528.79, 17.22,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 432.08, 2528.80, 17.17,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.30, 2515.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.35, 2506.90, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.42, 2498.32, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.47, 2489.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.44, 2487.26, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 433.63, 2479.54, 16.98,   0.00, 0.00, 50.27);
CreateObject(4511, -93.39, 2499.62, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -90.24, 2522.34, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -87.58, 2500.41, 20.29,   0.00, 0.00, 0.00);
CreateVehicle(411, 423.0083, 2473.4250, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0075, 2470.8225, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 422.8855, 2468.2598, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0081, 2465.5015, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0469, 2462.9016, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0240, 2460.3806, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.1412, 2457.8618, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 407.8481, 2473.9900, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8902, 2468.8232, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8780, 2471.4280, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8217, 2466.3162, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8283, 2463.8940, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.7971, 2461.4111, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8316, 2458.7705, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(451, 386.5287, 2473.9834, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.6444, 2471.5615, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7610, 2469.2202, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7164, 2466.7610, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7120, 2464.3208, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5862, 2461.7415, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5406, 2459.1821, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.3544, 2456.5635, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 402.0586, 2474.5002, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9017, 2472.1711, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7365, 2469.7988, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.6635, 2467.4587, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7988, 2465.0115, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9122, 2462.6440, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9093, 2460.2346, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.8510, 2457.8672, 15.9964, 91.1513, -1, -1, 100);
//-------------------------------------------------------------------------//
//bikestunt//
CreateObject(18769, -2973.62, -154.14, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2973.25, -134.98, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.54, -134.31, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.21, -153.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.95, -172.90, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2974.74, -173.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.09, -114.85, -0.07,   0.00, 0.00, 358.86);
CreateObject(18769, -2973.00, -115.17, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.52, -115.63, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.93, -134.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2954.81, -154.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2955.29, -174.20, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2991.77, -104.62, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2971.94, -104.91, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2953.20, -105.29, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2944.12, -115.91, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2944.44, -135.48, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.27, -155.12, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.72, -174.65, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2955.45, -183.04, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2974.90, -182.68, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2994.31, -182.12, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -3003.97, -172.57, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.74, -152.93, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.16, -133.13, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3002.60, -114.11, 9.49,   -90.00, 90.00, 358.73);
CreateObject(13637, -2993.30, -113.13, 2.51,   0.00, 0.00, 267.39);
CreateObject(13641, -2993.12, -158.97, 2.25,   0.00, 0.00, 87.69);
CreateObject(13641, -2977.94, -159.17, 2.25,   0.00, 0.00, 87.69);
CreateObject(18786, -2954.45, -155.41, 2.93,   0.00, 0.00, 267.39);
CreateObject(18786, -2953.60, -135.50, 2.93,   0.00, 0.00, 87.66);
CreateObject(16304, -2972.67, -115.36, 4.85,   0.00, 0.00, 0.00);
CreateObject(16304, -2994.60, -110.08, 0.55,   0.00, 0.00, 0.00);
CreateVehicle(522, -3001.8313, -179.6524, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -3000.8657, -179.8635, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2999.8286, -180.0747, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2998.8027, -180.3024, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2997.7205, -180.5193, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2996.9492, -180.8413, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(581, -2992.8640, -181.2716, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2991.7795, -181.2277, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.9023, -181.5719, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.2261, -181.4945, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2989.4060, -181.8498, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2988.3589, -181.8280, 0.8819, 0.0000, -1, -1, 100);
//END//
    return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{

 if(strcmp(cmdtext,"/edm",true) )
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
    return 1;
}

if(strcmp(cmdtext,"/aarace",true) )
    {
        SetPlayerPos(playerid,405.1651,2457.1814,18.6181);
        SetPlayerFacingAngle(playerid,89.5900);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Vehicle!",2500,3);
return 1;

}
if(strcmp(cmdtext,"/bikestunt",true) )
    {
        SetPlayerPos(playerid,-2994.9941,-181.7126,1.5941);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Motorcycle!",2500,3);
        return 1;
    }


if(strcmp(cmdtext,"/maps",true) )
    {
        GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
        return 1;
    }
return 0;
}
And when i typed any GM commands it took me to /edm -.-
I need this for a FS, not a GM I want it to standalone or whatever.
Reply
#8

what i changed you will see the result
pawn Code:
//-------------------------------------------------
//         EasyE's Maps all into one FS
//-------------------------------------------------

#include <a_samp>
#pragma tabsize 0


//------------------------/edm-------------------------

public OnFilterScriptInit()
{
CreateObject(19272, 43.86, 2238.46, 122.83,   0.00, 0.00, 0.00);
CreateObject(96, 35.83, 2238.32, 126.65,   90.00, 0.00, 244.82);
CreateObject(2971, 30.66, 2235.61, 125.53,   0.00, 0.00, 0.00);
CreateObject(2971, 37.82, 2240.57, 125.33,   0.00, 0.00, 0.00);
CreateObject(1304, 49.34, 2219.13, 123.20,   0.00, 0.00, 0.00);
CreateObject(11498, 23.46, 2239.28, 105.69,   0.00, 0.00, 228.91);
CreateObject(19173, 58.72, 2219.17, 127.82,   0.00, 0.00, 220.70);
CreateObject(19174, 68.06, 2241.27, 126.17,   0.00, 0.00, 278.69);
CreateObject(1583, 39.40, 2245.98, 125.39,   0.00, 0.00, 320.72);
CreateObject(1584, 37.46, 2234.96, 125.48,   0.00, 0.00, 204.36);

//---------------------------------/aarace---------------------------------------------//
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.82, 2448.79, 18.25,   0.00, 0.00, 175.37);
CreateObject(975, 404.88, 2471.96, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.80, 2463.26, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.71, 2454.63, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.67, 2446.08, 16.94,   0.00, 0.00, 89.59);
CreateObject(975, 404.64, 2437.90, 16.94,   0.00, 0.00, 89.59);
CreateObject(7916, 408.15, 2447.91, 18.25,   0.00, 0.00, 175.37);
CreateObject(7916, 411.48, 2450.08, 18.25,   0.00, 0.00, 175.37);
CreateObject(18761, -74.61, 2517.83, 15.45,   0.00, 0.00, 88.85);
CreateObject(18761, -75.53, 2489.64, 15.45,   0.00, 0.00, 88.85);
CreateObject(979, -71.11, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -61.79, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -52.40, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -43.14, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -33.76, 2503.85, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -24.48, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -15.20, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, -5.90, 2503.83, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 3.06, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 12.35, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 21.70, 2503.84, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 30.92, 2503.79, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 40.20, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 49.52, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 58.74, 2503.81, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 67.82, 2503.80, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 77.07, 2503.76, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 86.37, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 95.19, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 104.41, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 113.60, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 122.85, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 132.12, 2503.75, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 141.24, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 150.49, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 159.59, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 168.82, 2503.67, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 178.05, 2503.72, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 187.31, 2503.61, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 196.63, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 205.96, 2503.73, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 215.21, 2503.74, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 224.55, 2503.77, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 233.75, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 243.02, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 252.18, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 261.42, 2503.69, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 270.45, 2503.70, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 279.61, 2503.71, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 288.91, 2503.68, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 298.09, 2503.65, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 307.21, 2503.63, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 316.52, 2503.52, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 325.49, 2503.51, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 334.55, 2503.49, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 343.59, 2503.45, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 352.74, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 361.91, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 371.02, 2503.38, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 380.22, 2503.42, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 389.32, 2503.44, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 398.66, 2503.41, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 402.91, 2503.48, 16.26,   0.00, 0.00, 0.00);
CreateObject(979, 406.81, 2499.16, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.92, 2490.64, 16.27,   0.00, 0.00, 84.15);
CreateObject(979, 405.41, 2481.35, 16.27,   0.00, 0.00, 87.87);
CreateObject(5005, 295.21, 2475.44, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 133.26, 2475.54, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -12.42, 2475.53, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, -2.87, 2529.33, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 160.07, 2529.11, 18.57,   0.00, 0.00, 0.00);
CreateObject(5005, 322.03, 2528.81, 18.57,   0.00, 0.00, 0.00);
CreateObject(975, 409.34, 2528.65, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 418.01, 2528.71, 17.24,   0.00, 0.00, 0.00);
CreateObject(975, 426.69, 2528.79, 17.22,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 432.08, 2528.80, 17.17,   0.00, 0.00, 0.00);
CreateObject(975, 436.26, 2524.38, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.30, 2515.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.35, 2506.90, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.42, 2498.32, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.47, 2489.66, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 436.44, 2487.26, 17.27,   0.00, 0.00, 90.24);
CreateObject(975, 433.63, 2479.54, 16.98,   0.00, 0.00, 50.27);
CreateObject(4511, -93.39, 2499.62, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -90.24, 2522.34, 20.29,   0.00, 0.00, 0.00);
CreateObject(4511, -87.58, 2500.41, 20.29,   0.00, 0.00, 0.00);
CreateVehicle(411, 423.0083, 2473.4250, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0075, 2470.8225, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 422.8855, 2468.2598, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0081, 2465.5015, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0469, 2462.9016, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.0240, 2460.3806, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 423.1412, 2457.8618, 16.0945, 89.7068, -1, -1, 100);
CreateVehicle(411, 407.8481, 2473.9900, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8902, 2468.8232, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8780, 2471.4280, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8217, 2466.3162, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8283, 2463.8940, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.7971, 2461.4111, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(411, 407.8316, 2458.7705, 16.0945, 270.5722, -1, -1, 100);
CreateVehicle(451, 386.5287, 2473.9834, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.6444, 2471.5615, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7610, 2469.2202, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7164, 2466.7610, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.7120, 2464.3208, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5862, 2461.7415, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.5406, 2459.1821, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 386.3544, 2456.5635, 16.0186, 268.2035, -1, -1, 100);
CreateVehicle(451, 402.0586, 2474.5002, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9017, 2472.1711, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7365, 2469.7988, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.6635, 2467.4587, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.7988, 2465.0115, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9122, 2462.6440, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.9093, 2460.2346, 15.9964, 91.1513, -1, -1, 100);
CreateVehicle(451, 401.8510, 2457.8672, 15.9964, 91.1513, -1, -1, 100);
//-------------------------------------------------------------------------//
//bikestunt//
CreateObject(18769, -2973.62, -154.14, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2973.25, -134.98, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.54, -134.31, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.21, -153.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2993.95, -172.90, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2974.74, -173.29, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2992.09, -114.85, -0.07,   0.00, 0.00, 358.86);
CreateObject(18769, -2973.00, -115.17, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.52, -115.63, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2953.93, -134.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2954.81, -154.88, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2955.29, -174.20, -0.07,   0.00, 0.00, 358.73);
CreateObject(18769, -2991.77, -104.62, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2971.94, -104.91, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2953.20, -105.29, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2944.12, -115.91, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2944.44, -135.48, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.27, -155.12, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2945.72, -174.65, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -2955.45, -183.04, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2974.90, -182.68, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -2994.31, -182.12, 9.49,   90.00, 0.00, 358.73);
CreateObject(18769, -3003.97, -172.57, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.74, -152.93, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3003.16, -133.13, 9.49,   -90.00, 90.00, 358.73);
CreateObject(18769, -3002.60, -114.11, 9.49,   -90.00, 90.00, 358.73);
CreateObject(13637, -2993.30, -113.13, 2.51,   0.00, 0.00, 267.39);
CreateObject(13641, -2993.12, -158.97, 2.25,   0.00, 0.00, 87.69);
CreateObject(13641, -2977.94, -159.17, 2.25,   0.00, 0.00, 87.69);
CreateObject(18786, -2954.45, -155.41, 2.93,   0.00, 0.00, 267.39);
CreateObject(18786, -2953.60, -135.50, 2.93,   0.00, 0.00, 87.66);
CreateObject(16304, -2972.67, -115.36, 4.85,   0.00, 0.00, 0.00);
CreateObject(16304, -2994.60, -110.08, 0.55,   0.00, 0.00, 0.00);
CreateVehicle(522, -3001.8313, -179.6524, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -3000.8657, -179.8635, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2999.8286, -180.0747, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2998.8027, -180.3024, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2997.7205, -180.5193, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(522, -2996.9492, -180.8413, 1.1091, 0.0000, -1, -1, 100);
CreateVehicle(581, -2992.8640, -181.2716, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2991.7795, -181.2277, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.9023, -181.5719, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2990.2261, -181.4945, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2989.4060, -181.8498, 0.8819, 0.0000, -1, -1, 100);
CreateVehicle(581, -2988.3589, -181.8280, 0.8819, 0.0000, -1, -1, 100);
//END//
    return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{

 if(strcmp(cmdtext,"/edm",true) )
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
    return 1;
}

if(strcmp(cmdtext,"/aarace",true) )
    {
        SetPlayerPos(playerid,405.1651,2457.1814,18.6181);
        SetPlayerFacingAngle(playerid,89.5900);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Vehicle!",2500,3);
return 1;

}
if(strcmp(cmdtext,"/bikestunt",true) )
    {
        SetPlayerPos(playerid,-2994.9941,-181.7126,1.5941);
        SetPlayerHealth(playerid, 100000);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"~r~Choose~w~A~b~Motorcycle!",2500,3);
        return 1;
    }


if(strcmp(cmdtext,"/maps",true) )
    {
        GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
        return 1;
    }

return 0;
}
and the result =>
Code:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply
#9

You'd need to give some more in depth information about the GM. I had an experience the same as yours, it was to do with using ZCMD and strcmp in different FS, if you'd just check that and report back to here we can carry on from that.
Reply
#10

the warnings is because i think you setted the Angle as a new format to SetPlayerPos

if you want this put this in your script
pawn Code:
stock SetPlayerPosEx(playerid,X,Y,Z,Angle)    
     {
           SetPlayerPos(playerid,X,Y,Z);
         SetPlayerFacingAngle(playerid,Angle);
         return 1;
     }
and because you double a code
you maked
SetPlayerPos(playerid,-2994.9941,-181.7126,1.5941,1.5941);
and another one
SetPlayerPos(playerid,405.1651,2457.1814,18.6181,8 9.5900);
see the format SetPlayerPos(playerid,X,Y,Z); and you do something like SetPlayerPos(playerid,X,Y,Z,unkown);
I don't know what 1.5941 respresent in this pos , Angle or double mistake i don't understant or Angle fine for Using Angle using my function SetPlayerPosEx(playerid,405.1651,2457.1814,18.6181 ,89.5900);

Quote:
Originally Posted by SA-MPDrifter
View Post
You'd need to give some more in depth information about the GM. I had an experience the same as yours, it was to do with using ZCMD and strcmp in different FS, if you'd just check that and report back to here we can carry on from that.
this is s a big mistake...can do a Scripter if using zcmd use this in all scripts..
Reply
#11

My Gamemode is DCMD, do I have to convert this to DCMD? If so, how? I just looked through, CleverBot is in ZCMD, could using STRCMP and ZCMD in 2 FS's and DCMD in the GM be affecting it?
Reply
#12

by defining the dcmd function

#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
in top of script
Reply
#13

Convert the scripts all too one format. I suggest ZCMD since it's by far the fastest.
Reply
#14

Is more easily to do it , use zcmd and sscanf and your job will very easy , just some code and creating a new command in just few seconds..
Reply
#15

Hmm I see you're using Strcmp wrong for commands. Like you did here
pawn Код:
if(strcmp(cmdtext,"/edm",true) )
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
        return 1;
    }
I guess you meant to check if /edm is the same as cmdtext[]. Well I think you should've done it like this:

pawn Код:
if(!strcmp(cmdtext,"/edm",true))
    {
        ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,28.1063, 2242.8928, 126.0000);
        SetPlayerInterior(playerid,0);
        GivePlayerWeapon(playerid,30,999999);
        GameTextForPlayer(playerid,"Welcome to ~g~EEFS~N~ ~R~DeathMatch!",2500,3);
        SetPlayerHealth (playerid, 100);
        return 1;
    }
Otherwise when you enter anything with a / before it (e.g /blablabla) it will execute the /edm stuff.

Another thing I noticed in the /maps command

pawn Код:
GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
which might cause crashes because of the ~w. This should be fine:

pawn Код:
GameTextForPlayer(playerid,"~w~ Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);

Here is a fixed version of your code. By the way nice maps .
Reply
#16

HellSphinX's version is absolutely correct. To add some explanations of what he did, firstly the strcmp thing he already explained. The other problem was the wrong position of the return 1; in the code:

pawn Код:
if(strcmp(cmdtext,"/maps",true)==0)
    {
        GameTextForPlayer(playerid,"~w Maps by 18240 ]/edm] ]/aarace] ]/bikestunt]",2500,3);
    }
return 1; // This return should be before the closing bracket } of the if-block
The return was outside the { } brackets, and so out of the if-code. So it is executed everytime, no matter if that command was typed, or not. And the return 1; means no other commands /other OnPlayerCommandText in other filterscripts and the gamemode, will be processed, thats why the other commands didnt work.
Reply
#17

Thank you all, problem solved, and credits to HellSphinX for fixing the code, added credits to FS post.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)