[POMOC] 2 Neresiva problema u vezi GTARP moda

Započeo TheMonk, Decembar 26, 2010, 23:15:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

1-Kada stanes na prvi cp ne pokazuje ti se drugi.
2-Kada u dialogu kliknes na Cancel dobijes kick.

Dal je moguce ljudi da sa Balkan-Sampa ne zna niko il nece da kaze,saznacemo uskoro...buhaha :-*

Citat: [CE]Monk poslato Decembar 26, 2010, 23:15:21 POSLE PODNE
1-Kada stanes na prvi cp ne pokazuje ti se drugi.
2-Kada u dialogu kliknes na Cancel dobijes kick.

Dal je moguce ljudi da sa Balkan-Sampa ne zna niko il nece da kaze,saznacemo uskoro...buhaha :-*
2. Kick(playerid); izbrisi tamo gde ti je dialog sa tim !

Ako su ti problemi nereÅ¡ivi, zaÅ¡to onda tražiÅ¡ pomoć ? 
Povratak na balkan-samp  :)  15.01.2013. 
..   


Respect : [BP]HeLoX, Correlli, [CH:FR]Djea, LordShigi, LuKsA, BloodMaster, [H]265

Ok znaci neresivi su...dobro samo pitam jer sam ja uspeo da resim a koko ja vidim niko nista nije pomogao sto znaci da ne zna ili ne zeli da kaze..
Moze LOCK jer od ovog nema leba!!! :-X


Citat: Nikola_Krstic poslato Decembar 29, 2010, 08:50:43 PRE PODNE
mogu da ti pomognem oko oba! ako hoces
Ofmg sta ti izigravas? Nemoj pisati gluposti,ako zelis pomoci pomozi,ako ne zelis onda idi a ne ovo sto si ti rekao citiram "Mogu da ti pomognem oko oba! ako xoces" naravno da xoce, da nece zasto bi otvorio temu ? >:(

Ajde pomazi ako znas?
Drugo sam resio ali prvo nikako..
Poslednja Izmena: Decembar 29, 2010, 14:04:38 POSLE PODNE od [CE]Monk

sta bre oces ti teraj se u tri lepe znas ne mesaj se!!! ovako i ja sam imao taj problem i ovako sam ga resio svude gde pise kick(playerid); ti san izbrisao osim naravno kod komande /kick i na jos 1 mestu i vise nisam imao taj problem sad ti kako hoces ako neko ima bolje resenje neka kaze! a ako si ovo 1 resio ok


A da postas taj cod gdje su ti cp, nismo mi vidioviti da znamo stasi radio  :)

if (strcmp(cmd, "/race", true)==0)//Ovdje stavite koju komandu zelite za prozivanje
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /race [ID/Ime]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, 2311.3074,-2203.4268,5.7850,8.0);// ovdje stavite kordinate prvog CP-a. ovo sto pise (8.0)To vaj je velicina CP-a.
CP[giveplayerid] = 900;
    SendClientMessage(playerid, COLOR_BLUE, "Pozvan si na Race.");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani da koristite ovu komandu !");
}
}
return 1;
}
return 0;
}


public OnPlayerEnterCheckpoint(playerid)
{
    else if(CP[playerid] == 900) { CP[playerid] = 901; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2134.9924,-2023.9802,7.7057,8.0); }//Ovdje idu kordinate 2 cp-a
    else if(CP[playerid] == 901) { CP[playerid] = 902; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1978.7404,-1866.4452,5.2941,8.0); }//Ovdje idu kordinate 3 cp-a
    else if(CP[playerid] == 902) { CP[playerid] = 903; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1787.8651,-1806.7468,3.7048,8.0); }//Ovdje idu kordinate 4 cp-a
    else if(CP[playerid] == 903) { CP[playerid] = 904; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1371.4023,-1712.1035,8.5829,8.0); }//zadnji cp
else if(CP[playerid] == 904)//Kraj Race-a
    {
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s je upravo zavrsio Race. ", name);//Ovdje pise ko je zavrsio race
SendClientMessageToAll(COLOR_LIGHTRED, string);
DisablePlayerCheckpoint(playerid);
CP[playerid] = 0;
}
return 1;
}

dobro si uradio nerazumem gde ti je problem ? evo kako je meni na jednom od race-a ovo ti je da ide jedan za drugim CP meni nisu hteli zbog ovaga ! evo kako je meni


else if(CP[playerid] == 1500) { CP[playerid] = 1501; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2046.9576,-133.4165,35.2990,8.0); }
else if(CP[playerid] == 1501) { CP[playerid] = 1502; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2058.4209,-147.6295,35.3274,8.0); }
else if(CP[playerid] == 1502) { CP[playerid] = 1503; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2058.8479,-181.4305,35.3203,8.0); }
else if(CP[playerid] == 1503) { CP[playerid] = 1504; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2038.7451,-184.6639,35.3203,8.0); }
else if(CP[playerid] == 1504) { CP[playerid] = 1505; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2059.0024,-190.3535,35.3203,8.0); }
else if(CP[playerid] == 1505) { CP[playerid] = 1506; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2064.9705,-220.0626,35.3203,8.0); }
else if(CP[playerid] == 1506) { CP[playerid] = 1507; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2041.4199,-228.9764,35.3274,8.0); }
else if(CP[playerid] == 1507) { CP[playerid] = 1508; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2034.6305,-238.6871,35.3274,8.0); }
else if(CP[playerid] == 1508) { CP[playerid] = 1509; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2034.7717,-255.8000,35.3203,15.0); }
    else if(CP[playerid] == 1509)



e sad nadji razliku! ako je nema onda je negde drugo problem

GTARP je mod koji ima bug sa CP-ovima i vecina tehnika koje bi inace trebale raditi nerade,znam iz iskustva jer imam taj mod.
Citatelse if(CP[playerid] == 1500) { CP[playerid] = 1501; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2046.9576,-133.4165,35.2990,8.0); }
   else if(CP[playerid] == 1501) { CP[playerid] = 1502; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2058.4209,-147.6295,35.3274,8.0); }
   else if(CP[playerid] == 1502) { CP[playerid] = 1503; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2058.8479,-181.4305,35.3203,8.0); }
   else if(CP[playerid] == 1503) { CP[playerid] = 1504; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2038.7451,-184.6639,35.3203,8.0); }
   else if(CP[playerid] == 1504) { CP[playerid] = 1505; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2059.0024,-190.3535,35.3203,8.0); }
   else if(CP[playerid] == 1505) { CP[playerid] = 1506; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2064.9705,-220.0626,35.3203,8.0); }
   else if(CP[playerid] == 1506) { CP[playerid] = 1507; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2041.4199,-228.9764,35.3274,8.0); }
   else if(CP[playerid] == 1507) { CP[playerid] = 1508; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2034.6305,-238.6871,35.3274,8.0); }
   else if(CP[playerid] == 1508) { CP[playerid] = 1509; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2034.7717,-255.8000,35.3203,15.0); }
    else if(CP[playerid] == 1509)
to ti nepali kod njega zato nemojte pricat gluposti,ako vec hoces raditi nesta u GTARP modu sa CP ovima radi sa CASE jedino ti to radi,drugo nista :S


CitatKako sa CASE,daj mi primer molim te,izgleda da si ti jedina nada...

Pa imas prijemjer u samome modu,svi poslovi koeji ma mod su napravljeni sa CASE,gledaj pa skontaj,meni je trebalo dosta dugo i nisam mnoge noci porspavo dok nisam skuzio kako radi CP sistem u GTARP modu,mod je dobar samo mu taj CP sistem kvari ugled...