[HELP] Gamemode problems "FRM"
#1

NAME: [FRM] FreeRoam Mix (my freeroam gamemode )

now back to topic!
pawn Код:
#include <a_samp>

#if defined FILTERSCRIPT

main()
{
    print("\n----------------------------------");
    print(" FRM by JonnyBoy");
    print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
//--------------------
//CARS
//--------------------
    AddStaticVehicleEx(400,2504.59057617,-1685.35168457,13.85725784,14.00000000,-1,-1,15); //Landstalker
    AddStaticVehicleEx(500,2514.99584961,-1671.66918945,14.11626244,76.00000000,-1,-1,15); //Mesa
    AddStaticVehicleEx(418,2497.86352539,-1656.04052734,13.56965637,84.00000000,-1,-1,15); //Moonbeam
    AddStaticVehicleEx(552,2473.63940430,-1696.20458984,13.29261780,0.00000000,-1,-1,15); //Utility
    AddStaticVehicleEx(565,2362.92114258,-1653.91906738,13.23880577,94.00000000,-1,-1,15); //Flash
    AddStaticVehicleEx(527,2370.09741211,-1748.55590820,13.33381271,268.00000000,-1,-1,15); //Cadrona
    AddStaticVehicleEx(549,2417.68847656,-1764.88024902,13.25208473,0.00000000,-1,-1,15); //Tampa
    AddStaticVehicleEx(405,2399.63452148,-1927.45263672,13.38281250,0.00000000,-1,-1,15); //Sentinel
    AddStaticVehicleEx(445,2390.02514648,-1927.82006836,13.37281227,180.00000000,-1,-1,15); //Admiral
    AddStaticVehicleEx(580,2485.90673828,-1953.04284668,13.33633423,0.00000000,-1,-1,15); //Stafford
    AddStaticVehicleEx(458,2476.51269531,-1953.47753906,13.39519978,181.99963379,-1,-1,15); //Solair
    AddStaticVehicleEx(479,2498.93725586,-1953.36486816,13.33056068,0.00000000,-1,-1,15); //Regina
    AddStaticVehicleEx(579,2772.85693359,-1970.53527832,13.45180416,0.00000000,-1,-1,15); //Huntley
    AddStaticVehicleEx(589,2765.88452148,-1942.27856445,13.02223301,179.99963379,-1,-1,15); //Club
    AddStaticVehicleEx(440,2685.30493164,-2016.16284180,13.76460266,0.00000000,-1,-1,15); //Rumpo
    AddStaticVehicleEx(459,2645.75195312,-1995.20104980,13.69468784,200.00000000,-1,-1,15); //Berkley's RC Van
    AddStaticVehicleEx(582,2860.47900391,-1991.61621094,11.08964539,10.00000000,-1,-1,15); //Newsvan
    AddStaticVehicleEx(499,2179.81469727,-2367.59228516,13.48279953,202.00000000,-1,-1,15); //Benson
    AddStaticVehicleEx(554,1621.06774902,-1098.62036133,24.10124969,270.00000000,-1,-1,15); //Yosemite
    AddStaticVehicleEx(552,1629.05859375,-1089.65856934,23.68315887,270.00000000,-1,-1,15); //Utility
    AddStaticVehicleEx(405,1649.63488770,-1038.44812012,23.89843750,0.00000000,-1,-1,15); //Sentinel
    AddStaticVehicleEx(529,1658.39465332,-1046.06103516,23.63632584,0.00000000,-1,-1,15); //Willard
    AddStaticVehicleEx(585,1666.78222656,-1023.89160156,37.77209091,0.00000000,-1,-1,15); //Emperor
    AddStaticVehicleEx(400,1683.98181152,-1110.49060059,59.91382217,22.00000000,-1,-1,15); //Landstalker
    AddStaticVehicleEx(458,1692.22155762,-1106.52636719,59.67697906,316.00000000,-1,-1,15); //Solair
    AddStaticVehicleEx(488,1544.30395508,-1353.68945312,329.73867798,0.00000000,-1,-1,15); //News Chopper
    AddStaticVehicleEx(424,-271.07614136,1505.35388184,75.48156738,188.00000000,-1,-1,15); //BF Injection
    AddStaticVehicleEx(424,-267.84170532,1506.01013184,75.48156738,187.99804688,-1,-1,15); //BF Injection
    AddStaticVehicleEx(405,2328.86499023,-1677.70166016,14.42477512,270.00000000,-1,-1,15); //Sentinel
    AddStaticVehicleEx(421,2319.21069336,-1714.19653320,14.04687500,0.00000000,-1,-1,15); //Washington
    AddStaticVehicleEx(580,2393.23388672,-1676.30322266,14.60799599,0.00000000,-1,-1,15); //Stafford
    AddStaticVehicleEx(558,2271.29589844,-1644.88244629,15.57465267,0.00000000,-1,-1,15); //Uranus
    AddStaticVehicleEx(455,2161.30151367,-1808.27282715,13.94378376,270.00000000,-1,-1,15); //Flatbed
    AddStaticVehicleEx(552,2188.42138672,-1762.57482910,13.15540409,0.00000000,-1,-1,15); //Utility
    AddStaticVehicleEx(489,1999.74926758,-1940.54101562,13.71825600,90.00000000,-1,-1,15); //Rancher
    AddStaticVehicleEx(589,1981.21838379,-1985.45239258,13.26380062,0.00000000,-1,-1,15); //Club
    AddStaticVehicleEx(579,1779.26818848,-1932.42138672,13.48513794,0.00000000,-1,-1,15); //Huntley
    AddStaticVehicleEx(536,1785.27404785,-1932.23425293,13.23659229,0.00000000,-1,-1,15); //Blade
    AddStaticVehicleEx(439,1791.44580078,-1932.62951660,13.38639927,0.00000000,-1,-1,15); //Stallion
    AddStaticVehicleEx(491,1801.62585449,-1932.30249023,13.28655815,0.00000000,-1,-1,15); //Virgo
    AddStaticVehicleEx(401,822.30017090,-1332.62854004,13.41469002,272.00000000,81,80,15); //Bravura
    AddStaticVehicleEx(420,962.73626709,-1377.95068359,13.15788937,0.00000000,-1,-1,15); //Taxi
    AddStaticVehicleEx(420,962.73645020,-1368.84179688,13.15788937,0.00000000,-1,-1,15); //Taxi
    AddStaticVehicleEx(582,783.25354004,-1341.77746582,13.69432735,0.00000000,-1,-1,15); //Newsvan
    AddStaticVehicleEx(582,780.37255859,-1341.82971191,13.69081020,0.00000000,-1,-1,15); //Newsvan
    AddStaticVehicleEx(582,777.40124512,-1341.79406738,13.68718243,0.00000000,-1,-1,15); //Newsvan
    AddStaticVehicleEx(522,1440.37292480,-1054.50634766,213.04318237,204.00000000,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1441.86706543,-1054.25622559,213.04318237,203.99963379,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1443.37780762,-1053.67248535,213.04318237,203.99963379,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1444.74621582,-1053.17675781,213.04318237,203.99963379,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1446.21093750,-1052.55078125,213.04318237,203.99963379,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1484.18945312,-1321.41442871,2585.39599609,0.00000000,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1485.95800781,-1321.91052246,2585.57641602,0.00000000,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1487.84887695,-1321.98583984,2585.57641602,0.00000000,-1,-1,15); //NRG-500
    AddStaticVehicleEx(522,1490.14562988,-1322.03295898,2585.57641602,0.00000000,-1,-1,15); //NRG-500
    AddStaticVehicleEx(577,2074.50219727,-2492.53857422,12.54687500,92.00000000,-1,-1,15); //AT-400
    CreateObject(4505,2168.32080078,-2352.83325195,15.05040741,0.00000000,0.00000000,322.00000000); //object(cuntw_roadblock01ld) (2)
    CreateObject(9817,2111.33178711,-2411.79370117,17.29986382,0.00000000,0.00000000,0.00000000); //object(scaff1b_sfw) (1)
    CreateObject(10789,-805.55419922,2358.14501953,120.29942322,0.00000000,0.00000000,350.00000000); //object(xenonroof_sfse) (2)
    CreateObject(7971,-263.17144775,1405.52807617,74.05343628,0.00000000,0.00000000,0.00000000); //object(vgnprtlstation03) (1)
    CreateObject(4892,-275.77474976,1500.62548828,77.14215088,0.00000000,0.00000000,96.00000000); //object(kbsgarage2_las) (1)
    CreateObject(1233,-310.46792603,1401.79248047,72.67938995,0.00000000,0.00000000,252.00000000); //object(noparkingsign1) (1)
    CreateObject(2933,777.73559570,-1330.31738281,14.26830196,0.00000000,0.00000000,180.00000000); //object(pol_comp_gate) (1)
    CreateObject(2933,778.00421143,-1384.78771973,14.43792725,0.00000000,0.00000000,0.00000000); //object(pol_comp_gate) (2)
    CreateObject(5244,743.28808594,-1356.91992188,14.97301102,0.00000000,0.00000000,270.00000000); //object(lasntrk1im03) (1)
    CreateObject(922,764.75506592,-1367.34167480,13.40228081,0.00000000,0.00000000,0.00000000); //object(packing_carates1) (1)
    CreateObject(2649,732.63287354,-1373.86071777,25.17443466,0.00000000,0.00000000,0.00000000); //object(cj_aircon2) (1)
    CreateObject(2960,780.65936279,-1362.84716797,12.93580341,0.00000000,0.00000000,20.00000000); //object(kmb_beam) (1)
    CreateObject(3080,780.95080566,-1372.34289551,13.86669064,0.00000000,0.00000000,218.00000000); //object(ad_jump) (1)
    CreateObject(3625,767.58557129,-1420.05432129,15.37447357,0.00000000,0.00000000,90.00000000); //object(crgostntrmp) (1)
    CreateObject(13593,766.09600830,-1422.20861816,16.25795746,0.00000000,0.00000000,358.00000000); //object(kickramp03) (1)
    CreateObject(13593,763.36651611,-1422.16723633,16.25795746,0.00000000,0.00000000,357.99499512); //object(kickramp03) (2)
    CreateObject(1634,1450.52893066,-1086.58984375,213.68013000,0.00000000,0.00000000,180.00000000); //object(landjump2) (1)
    CreateObject(974,1444.39697266,-1045.93811035,215.16055298,0.00000000,0.00000000,0.00000000); //object(tall_fence) (1)
    CreateObject(974,1451.01452637,-1045.95092773,215.16055298,0.00000000,0.00000000,0.00000000); //object(tall_fence) (2)
    CreateObject(974,1457.68774414,-1045.97412109,215.16055298,0.00000000,0.00000000,0.00000000); //object(tall_fence) (3)
    CreateObject(974,1464.31274414,-1045.98571777,215.16055298,0.00000000,0.00000000,0.00000000); //object(tall_fence) (4)
    CreateObject(974,1437.68286133,-1045.91528320,215.15367126,0.00000000,0.00000000,0.00000000); //object(tall_fence) (5)
    CreateObject(18450,1494.83166504,-1318.30688477,2584.57226562,0.00000000,0.00000000,0.00000000); //object(cs_roadbridge04) (1)
    // Don't use these lines if it's a filterscript
    SetGameModeText("FreeRoam Mix");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit()
{
    return 1;
}
it compiles well but when i try to join my gta dies :/ and sometimes i can't connect
Reply
#2

dont use addstaticvehicleex, use addstaticvehicle

i think thats the only problem.......................

This forum requires that you wait 120 seconds between posts. Please try again in 24 seconds.

gay
Reply
#3

here is my error
Reply
#4

ah, i spotted your problem.

remove #if defined filterscript

and #endif
Reply
#5

Jag tror att det AddStaticVehicleEx som дr det stцrsta problemet eller det kan vara en annan av er skript inte bara din gamemode det kan vara en av dina filterscripts.
Reply
#6

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
This forum requires that you wait 120 seconds between posts. Please try again in 24 seconds.

gay
don't use g*y or f*ck or something on any forums, thank you


Код:
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(19) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(20) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(21) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(22) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(23) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(24) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(25) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(26) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(27) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(28) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(29) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(31) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(32) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(33) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(34) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(35) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(37) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(38) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(39) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(40) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(41) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(42) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(43) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(44) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(45) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(46) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(47) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(48) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(49) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(50) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(51) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(52) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(53) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(54) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(55) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(56) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(57) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(58) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(59) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(60) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(61) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(62) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(63) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(64) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(65) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(66) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(67) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(68) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(69) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(70) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(71) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(72) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(73) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\gamemodes\fr.pwn(74) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


56 Warnings.
congrats, you made it worse!
Reply
#7

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
ah, i spotted your problem.

remove #if defined filterscript

and #endif
thanks now it works
Reply
#8

frfdvvfd
Reply
#9

Quote:
Originally Posted by Linhanh
Посмотреть сообщение
frfdvvfd
dasfdgfdsx?

lol xd

that was really off topic lawl
Reply
#10

Lol ofc you should remove #if defined FILTERSCRIPT etc.
its a gamemode goddamnit!
Reply
#11

Quote:
Originally Posted by Mean
Посмотреть сообщение
Lol ofc you should remove #if defined FILTERSCRIPT etc.
its a gamemode goddamnit!
lol you are VERY late with that reply xD

its works 100% now and i get no problems. my friends was on my server and didn't get any errors
Reply
#12

AddPlayerClass in ur GM WTF
imedialy delite that xD
Reply
#13

Quote:
Originally Posted by Rafa
Посмотреть сообщение
AddPlayerClass in ur GM WTF
imedialy delite that xD
Tesser and i are scripting this

its gonna be updated and done soon
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)