Jump to content
  • 0

Cum adaug o mapa intr-un gm?


Question

Posted

Cum adaug o mapa intr-un gm? imi zice-ti si mie?:) de exemplu mapa asta  http://forum.sa-mp.com/showthread.php?t=342672

5 answers to this question

Recommended Posts

Posted

Adauga obiectele la public OnGameModeInit()

public OnGameModeInit()
{
    CreateObject(3724, 1284.5, 794, 26.10000038147, 0, 0, 182);
    CreateObject(3624, 1287.5999755859, 769.20001220703, 14.5, 0, 0, 185);
    CreateObject(3621, 1217.9000244141, 748.20001220703, 14.699999809265, 0, 0, 89.994506835938);
    CreateObject(3621, 1332.9000244141, 746.09997558594, 14.5, 0, 0, 89.994018554688);
    CreateObject(3621, 1273, 687.20001220703, 12, 0, 0, 179.98901367188);
    CreateObject(3620, 1325.4000244141, 693.20001220703, 22.89999961853, 0, 0, 0);
    CreateObject(3620, 1213.1999511719, 706.29998779297, 22.10000038147, 0, 0, 270);
    CreateObject(5126, 1265.4000244141, 769.59997558594, 24.700000762939, 0, 0, 2);
    CreateObject(2991, 1197.5, 706.40002441406, 33.599998474121, 0, 0, 0);
    CreateObject(2935, 1325.1999511719, 677, 33.099998474121, 0, 0, 90);
    CreateObject(18260, 1293.1999511719, 806.5, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1293.19921875, 806.5, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1288.9000244141, 808.40002441406, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1280.5999755859, 809.40002441406, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1251.8000488281, 808.90002441406, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1266.3000488281, 806.59997558594, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1270.4000244141, 810.79998779297, 11.39999961853, 0, 0, 0);
    CreateObject(18260, 1251.5999755859, 813.90002441406, 11.10000038147, 0, 0, 0);
    CreateObject(18260, 1283.6999511719, 813.90002441406, 10.89999961853, 0, 0, 0);
    CreateObject(18260, 1295, 813.40002441406, 10.89999961853, 0, 0, 0);
    CreateObject(12932, 1301.1999511719, 719.40002441406, 13.199999809265, 0, 0, 272);
    CreateObject(3568, 1256.6999511719, 820.5, 10.199999809265, 0, 0, 272);
    CreateObject(3569, 1292.5, 820.90002441406, 9.8999996185303, 0, 0, 272);
    CreateObject(3574, 1296.3000488281, 707.40002441406, 12.5, 0, 0, 0);
    CreateObject(3574, 1278.4000244141, 707.09997558594, 12.5, 0, 0, 0);
    CreateObject(3630, 1281.8000488281, 779, 11.300000190735, 0, 0, 0);
    CreateObject(3630, 1281.7998046875, 779, 11.300000190735, 0, 0, 0);
    CreateObject(3630, 1292.6999511719, 779.79998779297, 11.300000190735, 0, 0, 0);
    CreateObject(5259, 1265, 706.90002441406, 9.5, 0, 0, 0);
    CreateObject(5259, 1265, 706.8994140625, 9.5, 0, 0, 0);
    CreateObject(5259, 1265, 706.70001220703, 15.699999809265, 0, 0, 0);
    CreateObject(3578, 1318.5999755859, 803.5, 10.39999961853, 0, 0, 91.994018554688);
    CreateObject(3569, 1275.0999755859, 820.40002441406, 9.6999998092651, 0, 0, 271.99951171875);
    CreateObject(3569, 1292.5, 820.8994140625, 9.8999996185303, 0, 0, 271.99951171875);
    CreateObject(3569, 1292.5, 820.8994140625, 9.8999996185303, 0, 0, 271.99951171875);
    CreateObject(3578, 1231.1999511719, 807.40002441406, 10.60000038147, 0, 0, 89.987670898438);
    CreateObject(3578, 1323.1999511719, 809.20001220703, 10.60000038147, 0, 0, 181.98852539063);
    CreateObject(3578, 1226.5999755859, 812.5, 10.5, 0, 0, 183.98449707031);
    CreateObject(1233, 1322.5, 824.79998779297, 7.5999999046326, 0, 0, 180);
    CreateObject(1233, 1306.1999511719, 826.59997558594, 8.6999998092651, 0, 0, 169.99450683594);
    CreateObject(10831, 1235.3000488281, 742.20001220703, 14.5, 0, 0, 92);
    CreateObject(2935, 1325.19921875, 677, 33.099998474121, 0, 0, 90);
    CreateObject(2935, 1268.1999511719, 769.79998779297, 22.700000762939, 0, 0, 4);
    CreateObject(5837, 1228.5, 807.5, 11.300000190735, 0, 0, 88);
    CreateObject(5837, 1321.3000488281, 803.90002441406, 11.5, 0, 0, 271.99499511719);
    CreateObject(11547, 1286.0999755859, 722.59997558594, 12.39999961853, 0, 0, 180.49633789063);
    return 1;
}

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

Posted

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(52) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(53) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(54) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(55) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_PlayerCommands.inc(2904) : warning 219: local variable "HostCommand" shadows a variable at a preceding level

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(85) : warning 217: loose indentation

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(170) : error 021: symbol already defined: "format"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(174) : error 021: symbol already defined: "GameModeInit_VehiclesPickups"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(175) : error 021: symbol already defined: "GameModeInit_Classes"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(177) : error 021: symbol already defined: "Convoys_Init"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(179) : error 021: symbol already defined: "ShowPlayerMarkers"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(187) : error 021: symbol already defined: "SetTimer"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(189) : error 021: symbol already defined: "SetTimer"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(191) : error 021: symbol already defined: "SetTimer"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(194) : error 021: symbol already defined: "FixHouses"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(197) : error 021: symbol already defined: "SetTimer"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(199) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "AddCarDealerPickup"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "AddRefuelPickup"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "AddTollGate"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "BusinessFile_Load"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "BusinessTime_Load"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "Business_LoadAll"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "CameraFile_Load"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "Camera_LoadAll"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "Convoys_Init"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Airports"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Assistance"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Busses"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Busstops"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Classes"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Courier"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Mafia"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_PickupsIcons"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Police"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_RoadWorker"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_Toll"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_TruckDepots"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "GameModeInit_VehiclesPickups"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "HostCommand"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "Housing_LoadAll"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "IntrestTime_Load"

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(1551) : warning 203: symbol is never used: "Vehicle_AddStatic"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

15 Errors.

Posted

am dat convert si cand dau complie imi arata asta :

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(52) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(53) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(54) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\pawno\include\PPC_ServerSettings.inc(55) : error 010: invalid function or declaration

C:\Documents and Settings\StaR\Desktop\star\gamemodes\PPC_Trucking.pwn(175) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

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.