[Pomoc] CP

Započeo Ljubo
2. Jan. 2013. Zaključano
246
pregleda
4
postova
Ljubo
4
Enforcer
2. Jan. 2013.
Skripta koju koristim:GTA RP
Detaljan opis problema: Uradio sam posao farmera i sada kada dodjem do CP-a  nece da mi pokaze sledeci
Dio skripte:
CMD:zetva(playerid, params[])
{
if(PlayerInfo == 18)
{
CP = 50;
        SendClientMessage(playerid, COLOR_WHITE, "Krenuli ste sa zetvom pratite crvene markere!");
        SendClientMessage(playerid, COLOR_WHITE, "Pratite crvene markere!");
        PlayerInfo = 1;
        SetPlayerCheckpoint(playerid, -332.1146,-1429.8224,16.3491, 5.0);
TogglePlayerControllable(playerid, 1)
return 1;
}

new carid = GetPlayerVehicleID(playerid);
    if(CP == 50 && IsAHarvest(carid)) { CP = 51; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -288.4126,-1428.7971,13.5000,5.0); }
else if(CP == 51 && IsAHarvest(carid)) { CP = 52; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -170.1962,-1413.3901,4.0116,5.0); }
    else if(CP == 52 && IsAHarvest(carid)) { CP = 53; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -162.2724,-1408.1168,4.0147,5.0); }
    else if(CP == 53 && IsAHarvest(carid)) { CP = 54; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -324.4563,-1421.0514,15.5868,5.0); }
    else if(CP == 54 && IsAHarvest(carid)) { CP = 55; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -326.8872,-1418.3766,15.4751,5.0); }
    else if(CP == 55 && IsAHarvest(carid)) { CP = 56; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -174.9700,-1397.9022,4.5564,5.0); }
    else if(CP == 56 && IsAHarvest(carid)) { CP = 57; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -169.6609,-1394.2754,4.3516,5.0); }
    else if(CP == 57 && IsAHarvest(carid)) { CP = 58; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -324.6266,-1396.4370,14.0629,5.0); }
    else if(CP == 58 && IsAHarvest(carid)) { CP = 59; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -325.9696,-1389.5133,13.4733,5.0); }
    else if(CP == 59 && IsAHarvest(carid)) { CP = 60; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -170.0817,-1378.2181,4.4919,5.0); }
else if(CP == 60 && IsAHarvest(carid)) { CP = 61; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -173.4820,-1370.7936,4.7496,5.0); }
else if(CP == 61 && IsAHarvest(carid)) { CP = 62; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -326.4309,-1376.2375,12.2277,5.0); }
else if(CP == 62 && IsAHarvest(carid)) { CP = 63; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -325.2606,-1369.4323,11.6556,5.0); }
    else if(CP == 63 && IsAHarvest(carid)) { CP = 64; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -183.8502,-1359.9310,5.2480,5.0); }
    else if(CP == 64 && IsAHarvest(carid)) { CP = 65; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -172.8037,-1349.9751,4.6049,5.0); }
    else if(CP == 65 && IsAHarvest(carid)) { CP = 66; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -316.3717,-1363.1073,10.6164,5.0); }
    else if(CP == 66 && IsAHarvest(carid)) { CP = 67; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -322.4635,-1358.9846,10.9271,5.0); }
    else if(CP == 67 && IsAHarvest(carid)) { CP = 68; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -174.1948,-1343.6215,4.6673,5.0); }
    else if(CP == 68 && IsAHarvest(carid)) { CP = 69; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -168.6283,-1337.4709,4.3481,5.0); }
    else if(CP == 69 && IsAHarvest(carid)) { CP = 70; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -314.1169,-1347.2023,9.8684,5.0); }
    else if(CP == 70 && IsAHarvest(carid)) { CP = 71; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -322.2360,-1337.6921,10.2247,5.0); }
else if(CP == 71 && IsAHarvest(carid)) { CP = 72; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -173.5181,-1328.3705,5.5031,5.0); }
else if(CP == 72 && IsAHarvest(carid)) { CP = 73; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -165.7435,-1317.6073,4.7853,5.0); }
else if(CP == 73 && IsAHarvest(carid)) { CP = 74; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -316.2441,-1330.0023,9.9533,5.0); }
else if(CP == 74 && IsAHarvest(carid)) { CP = 75; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -324.8206,-1323.4570,10.6293,5.0); }
else if(CP == 75 && IsAHarvest(carid)) { CP = 76; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -168.5914,-1314.7924,5.3643,5.0); }
else if(CP == 76 && IsAHarvest(carid)) { CP = 77; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -163.1823,-1303.5826,4.4880,5.0); }
else if(CP == 77 && IsAHarvest(carid)) { CP = 78; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -318.4015,-1316.5432,10.3431,5.0); }
else if(CP == 78 && IsAHarvest(carid)) { CP = 79; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -373.6732,-1428.7622,25.7266,5.0); }
else if(CP == 79 && IsAHarvest(carid))
{
CP = 0;
DisablePlayerCheckpoint(playerid);
        SetVehicleToRespawn(carid);
SendClientMessage(playerid, COLOR_LIGHTRED, "Zavrsili ste sa zetvom i zaradili ste {FFFFFF}200$. ");
SafeGivePlayerMoney(playerid, 200);
        zito+= 500;
    SaveZitoSystem();
PlayerInfo = 0;
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Blaeks_Biofor
5
Forum Don
2. Jan. 2013.
izbaci proveru IsAHarvest,  i proveri da li ti se ne mesaju IDovi CPova
Ljubo
4
Enforcer
3. Jan. 2013.
Resio sam problem, ali nije bilo  u tome vec nesto drugo..
SoaD123
5
Underboss
3. Jan. 2013.
sad cu ti ja reci zapravo gdje je tvoj problem...gta rp jednostavno iz nekog razloga ne podnosi takav nacin izrade poslova ili bilo cega drugoga...morati ces se sluziti metodom switch(case)
{
case(1);
.
.
.
primjer neg ti budu default poslovi iz gtarp kao sta je npr vozac busa....

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha