Jump to content

Recommended Posts

Posted

Am si eu o problema.Vreau sa pun o mapa in server prin pawno.exe

Totul este bine si frumos pana cand dau compile.Imi apar foarte multe erori.Mapa care vreau sa o pun inlocuieste o cladire din single player.Voi pune o poza cu eroarea aparuta si cu mapa, posibil sa nu fie bine pusa.

-Acesta este codul pentru mapa:

[pawn]RemoveBuildingForPlayer(playerid, 4075, 1791.7969, -1716.9844, 12.5234, 0.25);

RemoveBuildingForPlayer(playerid, 4076, 1783.1016, -1702.3047, 14.3516, 0.25);

RemoveBuildingForPlayer(playerid, 1531, 1799.1328, -1708.7656, 14.1016, 0.25);

RemoveBuildingForPlayer(playerid, 1266, 1805.0234, -1692.4453, 25.1484, 0.25);

RemoveBuildingForPlayer(playerid, 4018, 1791.7969, -1716.9844, 12.5234, 0.25);

RemoveBuildingForPlayer(playerid, 4027, 1783.1016, -1702.3047, 14.3516, 0.25);

RemoveBuildingForPlayer(playerid, 1260, 1805.0234, -1692.4453, 25.1484, 0.25);

CreateDynamicObject(11008, 1794.27, -1705.25, 19.36,  0.00, 0.00, -90.28);

CreateDynamicObject(18981, 1767.06, -1688.74, 11.92,  0.00, 90.00, 0.00);

CreateDynamicObject(18981, 1766.81, -1710.82, 11.92,  0.00, 90.00, 0.00);

CreateDynamicObject(18981, 1792.38, -1710.66, 11.92,  0.00, 90.00, 0.00);

CreateDynamicObject(18981, 1799.55, -1710.02, 11.98,  0.00, 90.00, 0.00);

CreateDynamicObject(18981, 1799.44, -1694.28, 12.00,  0.00, 90.00, 0.00);

CreateDynamicObject(18981, 1766.97, -1688.75, 11.92,  0.00, 90.00, 0.00);

CreateDynamicObject(18981, 1774.39, -1689.02, 11.92,  0.00, 90.00, 0.00);

CreateDynamicObject(982, 1811.93, -1695.05, 13.23,  0.00, 0.00, 0.00);

CreateDynamicObject(982, 1811.92, -1709.45, 13.23,  0.00, 0.00, 0.00);

CreateDynamicObject(982, 1799.20, -1682.40, 13.23,  0.00, 0.00, 90.00);

CreateDynamicObject(982, 1773.60, -1682.42, 13.23,  0.00, 0.00, 90.00);

CreateDynamicObject(982, 1754.48, -1695.05, 13.23,  0.00, 0.00, 0.00);

CreateDynamicObject(983, 1757.65, -1682.34, 13.11,  0.00, 0.00, 90.00);

CreateDynamicObject(982, 1754.42, -1709.48, 13.23,  0.00, 0.00, 0.00);

CreateDynamicObject(970, 1802.71, -1720.21, 12.95,  0.00, 0.00, 90.00);

CreateDynamicObject(970, 1794.06, -1720.20, 12.95,  0.00, 0.00, 90.00);

CreateDynamicObject(970, 1810.91, -1720.21, 12.95,  0.00, 0.00, 90.00);

CreateDynamicObject(18981, 1767.49, -1711.03, 11.92,  0.00, 90.00, 0.00);

CreateDynamicObject(970, 1782.31, -1718.39, 12.95,  0.00, 0.00, 90.00);

CreateDynamicObject(970, 1780.44, -1718.54, 12.95,  0.00, 0.00, 90.00);[/pawn]

-Si o poza cu eroarea respectiva :

8HMcn5U.png

Link poza, in caz ca prima nu merge : 8HMcn5U.png

Sunt incepator in acest domeniu, deci imi cer scuze ....

Posted

Cele cu createobject le pui la ongamemodeinit, iar celw cu removebuilgind le pui la onplayerconnect

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

Dai CTRL+F si cauti  public OnGameModeInit() >iar acolo adaugi codurile de la obiecte FARA  RemoveBuildingForPlayers > Dupa te duci la public OnPlayerConnect si adaugi acolo RemoveBuildingForPlayer> Dai F5 adica Compile (este acel semn cu > )

Simplu.Dar speedkill are dreptate.Iti trebuie #include <streamer>

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.