[POMOC] CheckPoint

Započeo ceLL_, Novembar 07, 2010, 17:23:13 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Napravio sam posao Farmera i prvo sam odradio za oranje i napravim komandu!
Komanda:
if(strcmp(cmd, "/oranje", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pJob] == 11)
        {
if(PlayerToPoint(5.0,playerid,-375.7506,-1436.2031,25.7266))
{
SetPlayerCheckpoint(giveplayerid, -378.2037,-1415.1442,25.7266,5.0);
CP[giveplayerid] = 200;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Nisi na poziciji za zapoceti posao !");
    return 1;
}
}
}
    return 1;
}


CPovi:
//-----------------------------------------FARMER-ORANJE-----------------------------------
    else if(CP[playerid] == 200) { CP[playerid] = 201; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -376.0089,-1374.9972,22.7456,10.0); }
else if(CP[playerid] == 201) { CP[playerid] = 202; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -354.1043,-1305.8057,23.3833,10.0); }
    else if(CP[playerid] == 202) { CP[playerid] = 203; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -350.8799,-1266.1010,27.8478,10.0); }
    else if(CP[playerid] == 203) { CP[playerid] = 204; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -398.6547,-1274.9111,34.4051,10.0); }
    else if(CP[playerid] == 204) { CP[playerid] = 205; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -462.9899,-1290.5527,32.8698,10.0); }
    else if(CP[playerid] == 205) { CP[playerid] = 206; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -550.2042,-1290.8154,23.3467,10.0); }
    else if(CP[playerid] == 206) { CP[playerid] = 207; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -590.5962,-1288.7153,22.0739,10.0); }
    else if(CP[playerid] == 207) { CP[playerid] = 208; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -587.5067,-1355.5525,19.8231,10.0); }
    else if(CP[playerid] == 208) { CP[playerid] = 209; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -564.2196,-1409.5664,13.4746,10.0); }
    else if(CP[playerid] == 209) { CP[playerid] = 210; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -440.4316,-1387.6940,23.1111,10.0); }
else if(CP[playerid] == 210) { CP[playerid] = 211; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -382.7343,-1375.6711,23.0981,10.0); }
else if(CP[playerid] == 211) { CP[playerid] = 212; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -424.8594,-1312.7627,30.7999,10.0); }
else if(CP[playerid] == 212) { CP[playerid] = 213; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -575.0098,-1336.7772,22.4978,10.0); }
else if(CP[playerid] == 213) { CP[playerid] = 214; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -561.2823,-1409.2468,13.6596,10.0); }
else if(CP[playerid] == 214) { CP[playerid] = 215; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -500.4272,-1340.8383,25.6357,10.0); }
    else if(CP[playerid] == 215) { CP[playerid] = 216; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -448.3044,-1364.7092,27.7193,10.0); }
    else if(CP[playerid] == 216) { CP[playerid] = 217; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -357.8170,-1331.9143,21.5575,10.0); }
else if(CP[playerid] == 217) { CP[playerid] = 218; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -376.9406,-1433.1393,25.7266,10.0); }
    else if(CP[playerid] == 218)
{
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED, "Zavrsili ste oranje za danas!Vratite se sledeci PayDay!");
SendClientMessage(playerid, COLOR_LIGHTRED, "Zaradili ste 1000$!");
GivePlayerMoney(playerid, 1500);
}


I ja kad ukucam /oranje NISTA se ne desava ...  U cemu moze da bude problem ???
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

u jbt Gf i kopiranje xd

if(strcmp(cmd, "/oranje", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pJob] == 11)
       {
if(PlayerToPoint(5.0,playerid,-375.7506,-1436.2031,25.7266))
{
SetPlayerCheckpoint(playerid, -378.2037,-1415.1442,25.7266,5.0);
CP[playerid] = 200;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Nisi na poziciji za zapoceti posao !");
    return 1;
}
}
}
  return 1;
}


tako probaj ..
Poslednja Izmena: Novembar 07, 2010, 17:29:10 POSLE PODNE od [ST]ivex → ♫
Vikend je policija nas hvata,
vikend je ode cijela plata,
oko nas stvari ukradene,
sve smo dali na planove i sheme..
||||:=:=:=:=:=:=::=:=:=:=:=:=:=:THE IVEX:=:=:=:=:=:=:=:=:=::=:=:=:=:=:=::=:|||| 


PS: Ne saljite mi nikakve pm jer neodgovaram na njih! Ako trebate nes pitajte ove pr0 skriptere pa neka vam kazu!Hvala !

Super.. Radi mi :D

Hvala ti!

E sad kada zavrsi krug dobije pare i moze ponovo da pokrene posao!

Kako da napravim da kada zavrsi krug da pare dobije tek za platu (kao platu)  I da moze samo jednom u jedan sat..... ???
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

ma de koristi mozak za svako sranje koje oces napravit u modeu pitas na BS-ampu napravi nesto i sam jbt

hahahha warning = demir
CitatLose,Lose,Lose,Lose Prelose 0/10 nema nista tu to je 1 sek rada..... za nas profesionalce i dobre scritpere ....

ja sam najaci scripter na balkan a mozda i u svijet to je za mene stotinka....

sry za offtopic. ali Lopez, koji [cenzura] ti oces, ako mu mozes pomoci pomozi mu, a ne u svaku [cenzura] temu postat da nesto nauci sam.. Pa za sta onda sluzi ovaj forum ??? Ako ne mozes pomoci, nemoj POSTAT NISTA !

Citat: Ivan Pentek poslato Novembar 07, 2010, 18:27:05 POSLE PODNE
sry za offtopic. ali Lopez, koji [cenzura] ti oces, ako mu mozes pomoci pomozi mu, a ne u svaku [cenzura] temu postat da nesto nauci sam.. Pa za sta onda sluzi ovaj forum ??? Ako ne mozes pomoci, nemoj POSTAT NISTA !
slazem se

BalkanGaming

Citat: [CH]°°LøpεȤ°°[4EVER] poslato Novembar 07, 2010, 18:15:23 POSLE PODNE
ma de koristi mozak za svako [cenzura] koje oces napravit u modeu pitas na BS-ampu napravi nesto i sam jbt
Mislim da je ovo zajednica u kojoj se moze nauciti skriptat, a ti kao prvi to nisi razumio.