PDA

View Full Version : Map in server


Nick_Oostrum
29/12/2010, 06:53 PM
He iedereen!

Hier ben ik weer met een van me vele problemen:
Ik heb een mapje gemaakt(In Area 51) nu heb ik het geconvert en krijg ik dit:
CreateObject(990, 219.713669, 1866.218994, 13.675756, 0.0000, 0.0000, 0.0000);
CreateObject(1499, 211.648300, 1866.361084, 12.134748, 0.0000, 0.0000, 3.4377);
CreateObject(990, 206.730453, 1866.040771, 13.675756, 0.0000, 0.0000, 0.0000);
CreateObject(992, 202.700363, 1866.559204, 13.696204, 0.0000, 0.0000, 178.6585);
CreateObject(1502, 226.280457, 1866.353027, 12.131569, 0.0000, 0.0000, 181.3415);
CreateObject(1723, 203.864258, 1862.616821, 12.138672, 0.0000, 0.0000, 0.0000);
CreateObject(1704, 207.444458, 1861.090942, 12.137494, 0.0000, 0.0000, 270.6186);
CreateObject(1704, 202.218536, 1860.073853, 12.137494, 0.0000, 0.0000, 89.3814);
CreateObject(2313, 205.441666, 1858.155518, 12.137229, 0.0000, 0.0000, 180.4820);
CreateObject(1840, 205.631805, 1858.180664, 12.634809, 0.0000, 0.0000, 273.1970);
CreateObject(1840, 203.899200, 1858.057373, 12.634809, 0.0000, 0.0000, 273.1970);
CreateObject(1786, 204.948685, 1857.767944, 12.629329, 0.0000, 0.0000, 179.6224);
CreateObject(1516, 205.789856, 1860.754150, 12.316069, 0.0000, 0.0000, 0.0000);
CreateObject(1516, 203.949966, 1860.811157, 12.316069, 0.0000, 0.0000, 0.0000);
CreateObject(2344, 205.908310, 1862.443970, 12.643277, 0.0000, 0.0000, 0.0000);
CreateObject(1736, 213.941574, 1866.397339, 13.782318, 0.0000, 0.0000, 0.0000);
CreateObject(1736, 212.412399, 1866.333862, 13.825686, 0.0000, 0.0000, 0.0000);
CreateObject(2104, 217.805557, 1851.661499, 11.699986, 0.0000, 0.0000, 181.2368);
CreateObject(2232, 218.730713, 1851.500488, 12.248941, 0.0000, 0.0000, 182.0965);
CreateObject(2232, 217.355972, 1851.489014, 12.248043, 0.0000, 0.0000, 166.6267);
CreateObject(2233, 220.857986, 1852.581909, 11.734516, 0.0000, 0.0000, 250.9556);
CreateObject(2233, 215.352768, 1853.541626, 11.789966, 0.0000, 0.0000, 152.1204);
CreateObject(2627, 216.798431, 1864.973145, 12.141442, 0.0000, 0.0000, 0.0000);
CreateObject(2627, 218.168030, 1864.970215, 12.141442, 0.0000, 0.0000, 0.0000);
CreateObject(2628, 219.662659, 1862.826294, 12.141000, 0.0000, 0.0000, 269.7591);
CreateObject(2628, 219.437378, 1861.060303, 12.141000, 0.0000, 0.0000, 269.7591);
CreateObject(2632, 202.981155, 1865.265869, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 206.878891, 1865.276978, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 210.778183, 1865.340454, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 214.746368, 1865.386353, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 219.335373, 1865.392944, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 223.337677, 1865.461182, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 226.246582, 1865.516602, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 202.945480, 1863.311890, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 206.722366, 1863.333008, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 210.676743, 1863.308594, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 214.352219, 1863.245850, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 218.342758, 1863.392944, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 224.729065, 1863.532959, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 221.301682, 1863.439453, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 224.331848, 1861.540649, 12.193288, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 202.581848, 1861.316406, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 204.871826, 1861.361450, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 208.570618, 1861.386230, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 212.376556, 1861.297729, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 216.002548, 1861.287354, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 219.082153, 1861.299316, 12.193288, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 221.516357, 1861.464478, 12.193288, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 202.651474, 1859.270386, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 206.728317, 1859.408447, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 210.718872, 1859.440796, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 214.436401, 1859.379639, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 218.347656, 1859.408936, 12.193288, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 222.259048, 1859.659546, 12.193288, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 224.738998, 1859.529663, 12.193288, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 203.073288, 1857.726563, 12.294262, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 206.773819, 1857.823730, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 224.975464, 1857.590210, 12.173182, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 220.814346, 1857.630493, 12.176325, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 216.990295, 1857.423706, 12.172688, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 212.902191, 1857.478027, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 209.130432, 1857.498779, 12.186954, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 211.342270, 1855.525635, 12.089445, 0.0000, 0.0000, 2.5783);
CreateObject(2631, 224.999420, 1855.677612, 12.023753, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 221.090378, 1855.809326, 12.034035, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 218.708572, 1855.868286, 12.038651, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 214.997101, 1855.768921, 12.047626, 0.0000, 0.0000, 4.2972);
CreateObject(2632, 211.442108, 1853.765625, 11.916659, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 215.477112, 1853.844849, 11.880557, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 219.021210, 1853.848389, 11.880834, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 222.742920, 1853.741455, 11.872479, 0.0000, 0.0000, 0.0000);
CreateObject(2632, 226.134689, 1853.561035, 11.858378, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 223.812057, 1851.700073, 11.712988, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 219.874817, 1851.569946, 11.702820, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 216.201935, 1851.564819, 11.702423, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 212.814880, 1852.042725, 11.739759, 0.0000, 0.0000, 0.0000);
CreateObject(2631, 209.961502, 1851.961426, 11.741855, 0.0000, 0.0000, 0.0000);
CreateObject(1499, 214.634598, 1866.402466, 12.211884, 0.0000, 0.8594, 177.7994);
CreateObject(1998, 224.790482, 1859.574097, 12.246960, 0.0000, 0.0000, 0.0000);
CreateObject(1663, 225.575638, 1859.691650, 12.707174, 0.0000, 0.0000, 230.2251);
CreateObject(1954, 224.647522, 1859.493530, 13.166650, 0.0000, 0.0000, 269.7591);
CreateObject(2008, 224.423767, 1857.052734, 12.226853, 0.0000, 0.0000, 0.0000);
CreateObject(2008, 221.599136, 1857.015747, 12.229997, 0.0000, 0.0000, 0.0000);
CreateObject(2309, 225.290970, 1856.461182, 12.091574, 0.0000, 0.0000, 0.0000);
CreateObject(2309, 222.159393, 1856.421387, 12.101855, 0.0000, 0.0000, 0.0000);
CreateObject(2374, 210.132813, 1853.056396, 13.416579, 0.0000, 0.0000, 104.8513);
CreateObject(2377, 210.132813, 1853.998657, 13.370471, 0.0000, 0.0000, 93.5746);
CreateObject(2371, 212.587479, 1852.824707, 11.968078, 0.0000, 0.0000, 178.6587);
CreateObject(2389, 210.132813, 1854.912354, 13.408386, 0.0000, 0.0000, 97.8718);
CreateObject(2382, 212.949875, 1852.401123, 12.709266, 0.0000, 0.0000, 0.0000);
CreateObject(2392, 212.115784, 1852.144775, 12.742311, 0.0000, 0.0000, 0.0000);
CreateObject(941, 211.549728, 1857.962524, 12.715339, 0.0000, 0.0000, 0.0000);
CreateObject(941, 214.377975, 1858.196777, 12.701073, 0.0000, 0.0000, 0.0000);
CreateObject(2386, 215.379303, 1858.191895, 13.279771, 0.0000, 0.0000, 0.0000);
CreateObject(2386, 214.781204, 1858.140015, 13.279771, 0.0000, 0.0000, 0.0000);
CreateObject(2386, 214.207031, 1858.065430, 13.279771, 0.0000, 0.0000, 0.0000);
CreateObject(2053, 212.750107, 1858.285156, 13.250188, 0.0000, 0.0000, 0.0000);
CreateObject(2053, 212.621994, 1857.640503, 13.250188, 0.0000, 0.0000, 0.0000);
CreateObject(2053, 212.008057, 1858.223267, 13.250188, 0.0000, 0.0000, 0.0000);
CreateObject(2053, 211.828735, 1857.605225, 13.250188, 0.0000, 0.0000, 0.0000);
CreateObject(2053, 211.062485, 1857.550049, 13.250188, 0.0000, 0.0000, 0.0000);
CreateObject(2053, 211.032410, 1858.110229, 13.250188, 0.0000, 0.0000, 0.0000);
CreateObject(2207, 210.414490, 1860.977173, 12.234150, 0.0000, 0.0000, 0.0000);
CreateObject(2207, 212.327835, 1862.883423, 12.234150, 0.0000, 0.0000, 179.5182);
CreateObject(1485, 210.345947, 1862.125732, 13.000787, 0.0000, 0.0000, 0.0000);
CreateObject(1486, 210.576294, 1862.551147, 13.156472, 0.0000, 0.0000, 0.0000);
CreateObject(1486, 211.947678, 1862.720215, 13.156472, 0.0000, 0.0000, 0.0000);
CreateObject(1520, 210.545624, 1861.331421, 13.070653, 0.0000, 0.0000, 0.0000);
CreateObject(1544, 210.540710, 1861.780762, 13.007348, 0.0000, 0.0000, 0.0000);
CreateObject(1546, 212.274475, 1861.999390, 13.100652, 0.0000, 0.0000, 0.0000);
CreateObject(1551, 211.763870, 1862.111206, 13.251787, 0.0000, 164.2562, 16.3293);
CreateObject(2350, 211.190567, 1861.928345, 12.842649, 0.0000, 0.0000, 0.0000);

Dit plak ik dus in een pawno bestand maar als ik compile/run doe krijg ik het volgende:
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(1) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(2) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(3) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(4) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(5) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(6) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(7) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(8) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(9) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(10) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(11) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(12) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(13) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(14) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(15) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(16) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(17) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(18) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(19) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(20) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(21) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(22) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(23) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(24) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(25) : error 010: invalid function or declaration
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(26) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Nu dacht ik dat ik erboven #include <a_objects> moest zetten maar dan krijg ik dit:
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\pawno\include\a_objects.inc(15) : error 070: rational number support was not enabled
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\pawno\include\a_objects.inc(24) : error 070: rational number support was not enabled
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(3) : error 021: symbol already defined: "CreateObject"
D:\Nick\Games\GTA San Andreas\Server\Server\Los Angeles RolePlay 3.0 Fixable Versione\filterscripts\Untitled.pwn(115) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Heleboel errors maar ik denk dat er maar een ding verkeerd is... Iemand help? :P

Jantjuh
29/12/2010, 06:56 PM
Hey, mag ik vragen welke streamer je hebt?

edit: OOO wacht je hebt geen streamer? :P

Ik raad je aan om effe op t forum te zoeken naar MidoStream en daar alle instructies te volgen ;)

Nick_Oostrum
29/12/2010, 07:06 PM
Streamer?? Ik run geen server ofzo, ik maak voor een vriend, die heeft wel een server.. Waarvoor moet ik die dan nodig hebben, en als ik die nodig heb, waar kan ik het vinden welke ik heb?

Nick_Oostrum
29/12/2010, 07:07 PM
Als het geen te grote moeite is kan ik hem misschien naar jou sturen, en jij het pwn en amx bestand terug? Althans, ik moet het ook een keer zelf kunnen zodat ik het jullie niet meer hoef te vragen :P

corne
29/12/2010, 08:04 PM
Zet #include <a_samp> bovenin je script.

En zet de objects in OnFilterScriptInIt().

Nick_Oostrum
29/12/2010, 08:45 PM
Zelfde error, en ik denk dat ik je ook niet echt begrijp... kan je het zo neerzetten(Voorbeeld:)

#include <a_samp>

Al die CreateObject 000 0000 00 0 0 0 0 enzo

En dan het einde.. Dus dat ik het alleen in een pawno hoef te zetten en te compile/run :D Dan zal ik later wel kijken wat ik moest doen...

corne
29/12/2010, 08:58 PM
Nee, voor alleen een objectfilterscript ziet het er zo uit:


#include <a_samp>

public OnFilterScriptInIt()
{
//Alle Objects hier
return 1;
}

justsomeguy
29/12/2010, 11:43 PM
ik zie het probleem(denk ik) aan het einde van elke line staat geloof ik geen } maar) dus probeer een andere converter zou ik zeggen

EDIT:::
mijn fout ik zat ergens anders aan te denken niet op deze reply letten!

BlackBank3
30/12/2010, 09:52 AM
Misschien moet je de includes updaten...

Jochemd
30/12/2010, 11:12 AM
Klik in pawno gewoon op 'new' en plak die objecten in OnGameModeInit. Fixed.