[POMOC]Ne Mi Radi CMD

Započeo mayk, Oktobar 05, 2011, 15:26:52 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:fs
Detaljan opis problema:epa sam gledao od Petar tut za Posao i sve ok samo cmd /cisti ne valjda /smetlar Valjda od ovde http://balkan-samp.com/forum/index.php?topic=8533.0 sam vidio
Dio skripte:
if(strcmp(cmd, "/cisti", true) == 0) //promjenite kako zelite da glasi komanda
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pJob] == 20)//provjerava dali igrac ima posao smetlara da cisti
        {
if(PlayerToPoint(15.0,playerid,1729.4313,-1912.0137,13.5630))//pozicija na kojoj koristi komandu za ciscenje
{
SetPlayerCheckpoint(giveplayerid, 293.9176,-142.4710,2.3568,5.0);//ovo je za check point
CP[giveplayerid] = 900;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Nisi na poziciji za vozit beton !");
    return 1;
}
}
}
    return 1;
}

a cp
if(CP[playerid] == 900) { CP[playerid] = 901; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2097.7751,155.8687,35.1218,10.0); }
    else if(CP[playerid] == 901) { CP[playerid] = 902; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2081.2036,181.7803,35.1112,10.0); }
    else if(CP[playerid] == 902) { CP[playerid] = 903; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2068.1763,201.2154,35.5955,10.0); }
    else if(CP[playerid] == 903) { CP[playerid] = 904; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2051.3174,224.6756,35.6276,10.0); }
    else if(CP[playerid] == 904) { CP[playerid] = 905; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2050.6860,252.0351,35.3826,10.0); }
    else if(CP[playerid] == 905) { CP[playerid] = 906; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2057.1824,272.7188,35.3485,10.0); }
    else if(CP[playerid] == 906) { CP[playerid] = 907; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2074.0659,278.7420,35.3403,10.0); }
    else if(CP[playerid] == 907) { CP[playerid] = 908; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2094.8401,275.2155,35.1811,10.0); }
    else if(CP[playerid] == 908) { CP[playerid] = 909; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2125.5425,294.4122,34.8399,10.0); }
    else if(CP[playerid] == 909) { CP[playerid] = 910; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2103.4158,282.5852,35.1632,10.0); }
    else if(CP[playerid] == 910) { CP[playerid] = 911; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2085.4800,283.4416,35.4646,10.0); }
    else if(CP[playerid] == 911) { CP[playerid] = 912; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2054.0432,265.6967,35.7499,10.0); }
    else if(CP[playerid] == 912) { CP[playerid] = 913; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2050.2249,238.6608,35.6857,10.0); }
    else if(CP[playerid] == 913) { CP[playerid] = 914; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2059.1221,215.4383,35.5842,10.0); }
    else if(CP[playerid] == 914) { CP[playerid] = 915; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2078.9775,214.1233,35.3772,10.0); }
    else if(CP[playerid] == 915) { CP[playerid] = 916; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2086.0662,229.6242,35.6191,10.0); }
    else if(CP[playerid] == 916) { CP[playerid] = 917; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2090.4343,249.6210,35.9832,10.0); }
    else if(CP[playerid] == 917) { CP[playerid] = 918; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2088.8979,270.5758,35.3381,10.0); }
    else if(CP[playerid] == 918)
{
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED, "Vi ste upravo zavrsili ciscenje i zaradili dzeparac. ");
GivePlayerMoney(playerid, 1200);
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://