D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(96) : error 001: expected token: ";", but found "("
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(164) : warning 225: unreachable code
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(230) : error 012: invalid function call, not a valid address
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(230) : error 017: undefined symbol "playerid"
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(230) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(230) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
[code] //=========================== Bus Misija =================//
new Zaposlen(MAX_PLAYERS);
new Stanica1;
new Stanica2;
new Stanica3;
new Stanica4;
new Stanica5;
new Stanica6;
new Stanica7;
new Stanica8;
new Stanica9;
new Stanica10;
new Stanica11;
new Stanica12;
new Stanica13;
new Stanica14;
new Stanica15;
new Stanica16;
new Stanica17;
new Stanica18;
new Stanica19;
new Stanica20;
//====================================================//
public OnPlayerConnect(playerid)
{
{
SendClientMessage(playerid, 0x9955DEEE,"Dobrodosao Na Server");
return 1;
}
//=====================Bus Misija===================//
Stanica1 = CreateDynamicRaceCP(0,1834.3035,-1935.2351,12.9420,2026.7229,-1940.1078,12.9102,3.0);
Stanica2 = CreateDynamicRaceCP(0,2026.7229,-1940.1078,12.9102,2084.3987,-1832.4320,12.9538,3.0);
Stanica3 = CreateDynamicRaceCP(0,2084.3987,-1832.4320,12.9538,2015.1654,-1809.4391,12.9499,3.0);
Stanica4 = CreateDynamicRaceCP(0,2015.1654,-1809.4391,12.9499,1901.2549,-1749.0901,12.9377,3.0);
Stanica5 = CreateDynamicRaceCP(0,1901.2549,-1749.0901,12.9377,1764.3488,-1729.7604,12.9537,3.0);
Stanica6 = CreateDynamicRaceCP(0,1764.3488,-1729.7604,12.9537,1582.1497,-1729.6975,12.9483,3.0);
Stanica7 = CreateDynamicRaceCP(0,1582.1497,-1729.6975,12.9483,1387.7344,-1730.3713,12.9379,3.0);
Stanica8 = CreateDynamicRaceCP(0,1387.7344,-1730.3713,12.9379,1315.4072,-1669.2906,12.9507,3.0);
Stanica9 = CreateDynamicRaceCP(0,1315.4072,-1669.2906,12.9507,1344.3876,-1490.4242,12.9451,3.0);
Stanica10 = CreateDynamicRaceCP(0,1344.3876,-1490.4242,12.9451,1288.9530,-1392.9694,12.8254,3.0);
Stanica11 = CreateDynamicRaceCP(0,1288.9530,-1392.9694,12.8254,1143.9290,-1393.6525,13.1177,3.0);
Stanica12 = CreateDynamicRaceCP(0,1143.9290,-1393.6525,13.1177,1057.4803,-1447.5642,12.9290,3.0);
Stanica13 = CreateDynamicRaceCP(0,1057.4803,-1447.5642,12.9290,1034.4485,-1636.9144,12.9300,3.0);
Stanica14 = CreateDynamicRaceCP(0,1034.4485,-1636.9144,12.9300,1107.0320,-1855.1359,12.9541,3.0);
Stanica15 = CreateDynamicRaceCP(0,1107.0320,-1855.1359,12.9541,1275.0895,-1854.4053,12.9536,3.0);
Stanica16 = CreateDynamicRaceCP(0,1275.0895,-1854.4053,12.9536,1397.4293,-1875.3885,12.9438,3.0);
Stanica17 = CreateDynamicRaceCP(0,1397.4293,-1875.3885,12.9438,1637.2943,-1874.5238,12.9502,3.0);
Stanica18 = CreateDynamicRaceCP(0,1637.2943,-1874.5238,12.9502,1758.8259,-1826.4111,12.9517,3.0);
Stanica19 = CreateDynamicRaceCP(0,1758.8259,-1826.4111,12.9517,1803.2939,-1931.9597,12.9527,3.0);
Stanica20 = CreateDynamicRaceCP(0,1803.2939,-1931.9597,12.9527,0,0,0,3.0);
TogglePlayerDynamicRaceCP(playerid,Stanica1,0);
TogglePlayerDynamicRaceCP(playerid,Stanica2,0);
TogglePlayerDynamicRaceCP(playerid,Stanica3,0);
TogglePlayerDynamicRaceCP(playerid,Stanica4,0);
TogglePlayerDynamicRaceCP(playerid,Stanica5,0);
TogglePlayerDynamicRaceCP(playerid,Stanica6,0);
TogglePlayerDynamicRaceCP(playerid,Stanica7,0);
TogglePlayerDynamicRaceCP(playerid,Stanica8,0);
TogglePlayerDynamicRaceCP(playerid,Stanica9,0);
TogglePlayerDynamicRaceCP(playerid,Stanica10,0);
TogglePlayerDynamicRaceCP(playerid,Stanica11,0);
TogglePlayerDynamicRaceCP(playerid,Stanica12,0);
TogglePlayerDynamicRaceCP(playerid,Stanica13,0);
TogglePlayerDynamicRaceCP(playerid,Stanica14,0);
TogglePlayerDynamicRaceCP(playerid,Stanica15,0);
TogglePlayerDynamicRaceCP(playerid,Stanica16,0);
TogglePlayerDynamicRaceCP(playerid,Stanica17,0);
TogglePlayerDynamicRaceCP(playerid,Stanica18,0);
TogglePlayerDynamicRaceCP(playerid,Stanica19,0);
TogglePlayerDynamicRaceCP(playerid,Stanica20,0);
//==========================================//
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
//=========Bus Misija===========//
Zaposlen(playerid) = 0;
TogglePlayerAllDynamicRaceCPs(playerid,0);
//===============================//
return 1;
}
Prebaci u OnGameModeInit ovo za CP
eto uradio sam to i dobio ovo
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(96) : error 001: expected token: ";", but found "("
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(144) : error 010: invalid function or declaration
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(185) : error 010: invalid function or declaration
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(208) : warning 225: unreachable code
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(208) : warning 217: loose indentation
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(208) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(208) : error 004: function "S[member=1996][/member][member=1996][/member]_OnPlayerDisconnect" is not implemented
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(213) : warning 225: unreachable code
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(213) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(213) : error 004: function "S[member=1996][/member][member=1996][/member]_OnPlayerSpawn" is not implemented
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(218) : warning 225: unreachable code
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(218) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(218) : error 004: function "S[member=1996][/member][member=1996][/member]_OnPlayerDeath" is not implemented
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(223) : warning 225: unreachable code
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(223) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(223) : error 004: function "S[member=1996][/member][member=1996][/member]_OnVehicleSpawn" is not implemented
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(228) : warning 225: unreachable code
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(228) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(228) : error 004: function "S[member=1996][/member][member=1996][/member]_OnVehicleDeath" is not implemented
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : error 012: invalid function call, not a valid address
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : warning 215: expression has no effect
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : error 001: expected token: ";", but found ")"
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
17 Errors.
Koji mod ustvari editas
cek bio sam sad sredio nes i dobio ovo
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(96) : error 001: expected token: ";", but found "("
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(144) : error 010: invalid function or declaration
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(185) : error 010: invalid function or declaration
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : error 012: invalid function call, not a valid address
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : error 017: undefined symbol "playerid"
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : error 029: invalid expression, assumed zero
D:\Install\GTA\GTA-SanAndreas\gamemodes\RolePlay.pwn(231) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
kod za bus misiju
Ja samo da napomenem da me ne drzis za rec mrtav sam umoran hahaah. citav dan rintam..
nema problema ako ti mozes pomozi ako si umoran nemoras :) razumem
jel moze bar neko drugi da mi pomogne hitno mi treba
Citat: INTEX88 poslato Avgust 08, 2016, 23:11:49 POSLE PODNE
jel moze bar neko drugi da mi pomogne hitno mi treba
Mislim da ce da ti se locka tema upravo zbog bumpa
jel mi ti mozes pomoci ako ti nije tesko
Ovo
[pawn]Zaposlen(playerid) = 0;[/pawn]
zamjeni s ovim
[pawn]Zaposlen[playerid] = 0;[/pawn]
I postaj drugi put po pravilima
(http://i.imgur.com/8NcveCL.png)
Molimo te da procitas pravila foruma te da onda otvoris temu po pravilima.
Razlog zakljucavanja:
Nemas formular + radis bump koji je zabranjen!
Pravila:
Glavna pravila Balkan SA:MP foruma (http://balkan-samp.com/forum/index.php?topic=100332.msg640677#msg640677) .
Razgovor u vezi PAWN-Skriptanja (http://balkan-samp.com/forum/index.php?topic=11453.0) .