Szerző Téma: Object törlés  (Megtekintve 672 alkalommal)

Object törlés
« Dátum: 2013. november 08. - 13:56:07 »
0 Show voters
Sziasztok!
 
  RemoveBuildingForPlayer(playerid, 3297, -1493.8359, 2688.9922, 56.6484, 0.25);
RemoveBuildingForPlayer(playerid, 3299, -1518.0313, 2698.5938, 55.2109, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -1482.3672, 2704.8047, 54.8047, 0.25);
RemoveBuildingForPlayer(playerid, 11672, -1520.9609, 2577.1641, 58.3125, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -1540.1563, 2590.8125, 55.1563, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -1534.1406, 2597.0391, 59.2734, 0.25);
RemoveBuildingForPlayer(playerid, 11456, -1520.9609, 2577.1641, 58.3125, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -1500.1172, 2563.4766, 59.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -1500.1172, 2589.3359, 59.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -1515.5547, 2595.2969, 55.1563, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -1507.9922, 2597.0391, 59.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -1520.8906, 2597.0391, 59.2734, 0.25);
RemoveBuildingForPlayer(playerid, 11460, -1523.2891, 2618.5938, 65.4219, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -1517.7422, 2677.1484, 55.1797, 0.25);
RemoveBuildingForPlayer(playerid, 3283, -1518.0313, 2698.5938, 55.2109, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1504.0859, 2704.5859, 55.2422, 0.25);
RemoveBuildingForPlayer(playerid, 672, -1521.6094, 2707.5781, 55.5781, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -1485.8516, 2680.7422, 55.1563, 0.25);
RemoveBuildingForPlayer(playerid, 3242, -1493.8359, 2688.9922, 56.6484, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -1482.3672, 2704.8047, 54.8047, 0.25);
RemoveBuildingForPlayer(playerid, 11548, -1299.7344, 2709.1094, 49.0781, 0.25);
RemoveBuildingForPlayer(playerid, 16375, 387.6016, 2525.5469, 15.6641, 0.25);
RemoveBuildingForPlayer(playerid, 16790, 425.4688, 2531.0000, 22.5547, 0.25);
RemoveBuildingForPlayer(playerid, 652, -883.3125, 2738.9219, 45.1328, 0.25);
RemoveBuildingForPlayer(playerid, 652, -861.9063, 2740.7422, 44.6797, 0.25);
RemoveBuildingForPlayer(playerid, 652, -830.2891, 2742.8750, 44.7188, 0.25);
RemoveBuildingForPlayer(playerid, 652, -810.9219, 2743.5625, 44.9531, 0.25);
RemoveBuildingForPlayer(playerid, 16004, -843.8359, 2746.0078, 47.7109, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -864.7656, 2747.5547, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -878.2344, 2746.2656, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -815.8672, 2751.4141, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -827.1328, 2750.7422, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -865.9219, 2763.5469, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -878.8594, 2762.5156, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -828.8672, 2766.4609, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -817.5625, 2767.2656, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -840.3516, 2763.8359, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3243, -850.4375, 2763.0313, 45.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1468, -809.2344, 2772.5469, 46.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1468, -806.4922, 2769.9688, 46.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1468, -814.5156, 2772.4219, 46.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1468, -825.1016, 2772.1563, 46.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1468, -830.3984, 2771.9766, 46.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1223, -251.5469, 2647.3672, 61.6094, 0.25);
RemoveBuildingForPlayer(playerid, 16401, -271.9688, 2662.1953, 61.5859, 0.25);
RemoveBuildingForPlayer(playerid, 16776, -237.0234, 2662.8359, 62.6094, 0.25);
RemoveBuildingForPlayer(playerid, 1340, -197.4922, 2659.9141, 62.8203, 0.25);
RemoveBuildingForPlayer(playerid, 16062, -222.6641, 2663.3047, 66.2344, 0.25);
RemoveBuildingForPlayer(playerid, 16063, -222.3438, 2663.4531, 71.0156, 0.25);
RemoveBuildingForPlayer(playerid, 669, -206.6328, 2672.2422, 61.8438, 0.25);
RemoveBuildingForPlayer(playerid, 1223, -192.7422, 2648.8047, 61.6094, 0.25);
RemoveBuildingForPlayer(playerid, 672, -243.0313, 2688.3047, 62.4844, 0.25);
RemoveBuildingForPlayer(playerid, 672, -240.8359, 2737.1484, 62.4844, 0.25);
RemoveBuildingForPlayer(playerid, 669, -232.1641, 2685.2734, 61.8438, 0.25);
RemoveBuildingForPlayer(playerid, 669, -202.5703, 2687.9688, 61.8438, 0.25);
RemoveBuildingForPlayer(playerid, 16363, 600.6250, 1652.2109, 6.0078, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 624.0469, 1677.6016, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 16362, 613.7578, 1692.3906, 9.1094, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 603.4844, 1707.2344, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 606.8984, 1702.2188, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 610.2500, 1697.2656, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 613.7188, 1692.2656, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 16360, 641.8438, 1681.9922, 6.1875, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 617.1250, 1687.4531, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1686, 620.5313, 1682.4609, 6.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 583.0313, 1724.8281, 7.0156, 0.25);
RemoveBuildingForPlayer(playerid, 16747, 616.2734, 1737.7500, 12.8828, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 648.1328, 1754.0938, 3.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 672.9922, 1754.1484, 3.4531, 0.25);

 
Erre miért ír errort?
 
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(151) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(152) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(153) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(154) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(155) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(156) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(157) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(158) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(159) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(160) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(161) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(162) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(163) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(164) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(165) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(166) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(167) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(168) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(169) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(170) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(171) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(172) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(173) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(174) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(175) : error 017: undefined symbol \"playerid\"
C:\\Documents and Settings\\david\\Asztal\\Modom\\gamemodes\\modocska.pwn(176) : error 017: undefined symbol \"playerid\"

Nem elérhető Kovacs_Richard

  • 1743
  • HRP Fejlesztő
  • Discord: Kovacs_Richard#0321
    • Profil megtekintése
    • Hun Role Play Web
Object törlés
« Válasz #1 Dátum: 2013. november 08. - 14:07:48 »
0 Show voters
melyik callback alatt van ez a kód?
gondolom OnGameModeInit-be raktad, az OnPlayerConnect alá tedd!
vagy ha saját függvényt szeretnél létrehozni akkor oda, és azt rakd be az OnPlayerConnect alá
ha nem módba van hanem FS-ben akkor külön függvény amit meghívsz OnPlayerConnect alatt és OnFilterScriptInit alatt (csak itt ciklussal menj végig az online játékosokon), így a script betöltésekor és a játékos csatlakozásakor is törölné a tárgyakat
Régóta nem tevékenykedem, mint SA-MP scripter.
HRP Fejlesztő.

Object törlés
« Válasz #2 Dátum: 2013. november 08. - 18:26:23 »
0 Show voters
köszi jólett :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal