nrg i street race

Započeo galeb, Septembar 15, 2009, 15:18:32 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 23 gostiju pregledaju ovu temu.

mislim da je ovo sve sta treba dodat ;D ako nije reciste sta treba ;D

//-----------------------------------NRG--------------------------------------------
else if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1854.2563,846.4569,35.0569, 10.0); }
else if(CP[playerid] == 301) { CP[playerid] = 302; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1673.5345,846.2385,24.6948, 10.0); }
else if(CP[playerid] == 302) { CP[playerid] = 303; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1560.8887,844.1173,7.0391, 10.0); }
else if(CP[playerid] == 303) { CP[playerid] = 304; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1526.5807,884.1758,7.0391, 10.0); }
else if(CP[playerid] == 304) { CP[playerid] = 305; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1617.6240,925.2701,7.6576, 10.0); }
else if(CP[playerid] == 305) { CP[playerid] = 306; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1808.1826,926.7799,24.7422, 10.0); }
else if(CP[playerid] == 306) { CP[playerid] = 307; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1981.3612,926.8416,45.6645, 10.0); }
else if(CP[playerid] == 307) { CP[playerid] = 308; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2001.6895,886.9785,45.2969, 10.0); }
    else if(CP[playerid] == 308)
{
    CP[playerid] = 0;
    DisablePlayerCheckpoint(playerid);
    GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Organizator : %s je upravo zavrsio Utrku. ", name);
SendClientMessageToAll(COLOR_LIGHTRED, string);
    }


//-------------------nrg--------------------------------
    AddStaticVehicleEx(522,-1987.7423,902.2488,45.2097,178.4822,0,0,900);
AddStaticVehicleEx(522,-1983.1742,902.4966,45.2097,178.4822,0,0,900);
AddStaticVehicleEx(522,-1978.3529,902.3719,45.2097,178.4822,0,0,900);
AddStaticVehicleEx(522,-1974.3214,902.3315,45.2097,178.4822,0,0,900);
AddStaticVehicleEx(522,-1971.3234,902.6776,45.2031,178.4822,0,0,900);
AddStaticVehicleEx(522,-1971.9628,865.7813,45.2031,359.8687,0,0,900);
AddStaticVehicleEx(522,-1971.9628,865.7813,45.2031,359.6716,0,0,900);
AddStaticVehicleEx(522,-1976.4976,866.0451,45.2031,359.6716,0,0,900);
    AddStaticVehicleEx(522,-1983.2261,866.0992,45.2031,353.3213,0,0,900);
    AddStaticVehicleEx(522,-1986.3667,865.4835,45.2031,355.9951,0,0,900);
CreateObject(972, -1972.061279, 890.428467, 44.200005, 0.0000, 0.0000, 0.0000);
    CreateObject(972, -1972.135864, 873.428467, 44.200005, 0.0000, 0.0000, 0.0000);
    CreateObject(972, -1981.157593, 907.769836, 44.200005, 0.0000, 0.0000, 270.6186);
    CreateObject(972, -1976.822388, 860.274963, 44.794777, 0.0000, 0.0000, 90.2409);
    CreateObject(993, -1991.241699, 867.704468, 47.186672, 0.0000, 0.0000, 90.2409);
    CreateObject(993, -1991.290527, 874.914551, 47.173553, 0.0000, 0.0000, 90.2409);
    CreateObject(993, -1991.369629, 899.373230, 47.261719, 0.0000, 0.0000, 90.2409);
    CreateObject(993, -1991.328979, 893.421692, 47.286720, 0.0000, 0.0000, 89.3814);
    gate1 = CreateObject(969, -1991.581177, 884.492920, 47.201939, 0.0000, 0.0000, 90.0000);
    gate2 = CreateObject(969, -1983.659912, 845.697510, 44.980431, 0.0000, 0.0000, 90.0000);


// --------------------------------NRG---------------------------------
if (strcmp("/nrghelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________________________________________________");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|~|~|Commands|~|~|");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrghelp - Ova komanda stvara ovo ;D.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - Ova komanda ocisti chat.");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgs - Igraci startaju race.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgp - Dize se ogradiza za start.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrg - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgo - Otvara garazu sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/nrgz - Zatvara vrata sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________________________________________________");
        return 1;
}
if(strcmp(cmdtext,"/clearchat",true)==0)
{
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
return 1;
}
    if (strcmp(cmd, "/setnrg", true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /setnrg [playerid/PartOfName]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 2)
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, -1990.8082,845.3881,45.6682,50.0);
CP[giveplayerid] = 300;
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), " ORGANIZATOR %s je pozvao %s na NRG Race strat liniju!", sendername, giveplayer);
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani za koristenje ove naredbe !");
}
}
return 1;
}
if(strcmp(cmdtext,"/nrgs",true)==0)
{
        MoveObject(gate2,-1983.595093, 845.671875, 42.480431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgp",true)==0)
{
        MoveObject(gate2,-1983.659912, 845.697510, 44.980431,50.000);
return 1;
}
if(strcmp(cmdtext,"/nrgo",true)==0)
{
        MoveObject(gate1,-1991.512939, 884.430969, 40.476517,5);
return 1;
}
if(strcmp(cmdtext,"/nrgz",true)==0)
{
        MoveObject(gate1,-1991.581177, 884.492920, 47.201939,5);
return 1;
}
if(strcmp(cmd, "/gotonrg", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -1990.8082,845.3881,45.6682);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -1990.8082,845.3881,45.6682);
}
SendClientMessage(playerid, COLOR_GRAD1, "   Teleportiran si !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "  Nisi autoriziran za koristenje te komande!");
}
}
return 1;
}


new gate1;
new gate2;
new gate3;
new gate4;
new gate5;



======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









//-----------------------------------Street-------------------------------------------
else if(CP[playerid] == 400) { CP[playerid] = 401; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2043.5605,-2586.4756,13.2524, 10.0); }
else if(CP[playerid] == 401) { CP[playerid] = 402; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1593.4683,-2588.1885,14.4731, 10.0); }
else if(CP[playerid] == 402)
        {
    CP[playerid] = 0;
    DisablePlayerCheckpoint(playerid);
    GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Organizator : %s je upravo zavrsio Utrku. ", name);
SendClientMessageToAll(COLOR_LIGHTRED, string);
    }


//------------------------street--------------------------------------------------------
    CreateObject(8556, 2042.980591, -2593.339600, 17.062931, 0.0000, 0.0000, 268.8998);
    CreateObject(1633, 1593.432739, -2598.511475, 13.147177, 353.9839, 0.0000, 89.3814);
    CreateObject(1633, 1593.328735, -2588.187744, 13.197172, 354.8434, 0.0000, 87.6625);
    CreateObject(984, 1590.089966, -2598.909180, 13.286615, 0.0000, 0.0000, 0.0000);
    CreateObject(984, 1590.320435, -2587.451416, 13.211170, 0.0000, 0.0000, 0.0000);
    CreateObject(7371, 2036.257202, -2606.064453, 12.665887, 0.0000, 0.0000, 270.0000);
    CreateObject(7371, 1903.888428, -2606.001953, 12.546697, 0.0000, 0.0000, 270.0000);
    CreateObject(7371, 1771.597412, -2605.784912, 12.422390, 0.0000, 0.0000, 270.0000);
    CreateObject(7371, 1599.690674, -2605.435547, 12.546697, 0.0000, 0.0000, 90.0000);
    CreateObject(7371, 2037.553467, -2581.384277, 12.546697, 0.0000, 0.0000, 270.0000);
    CreateObject(7371, 1905.261230, -2581.362305, 12.546697, 0.0000, 0.0000, 270.0000);
    CreateObject(7371, 1773.021729, -2581.346680, 12.546697, 0.0000, 0.0000, 270.0000);
    CreateObject(7371, 1710.639893, -2581.333984, 12.546697, 0.0000, 0.0000, 270.0000);
    CreateObject(3816, 2025.128418, -2539.759521, 21.117193, 0.0000, 0.0000, 179.6224);
    CreateObject(3816, 1956.029541, -2539.336182, 21.117193, 0.0000, 0.0000, 179.6224);
    CreateObject(982, 2035.766235, -2592.735107, 6.705438, 0.0000, 0.0000, 359.1406);
    CreateObject(972, 2022.632202, -2508.722168, 2.433338, 0.0000, 0.0000, 270.7226);
    CreateObject(972, 1954.121216, -2508.379395, 3.571644, 0.0000, 0.0000, 269.8632);
    gate3 = CreateObject(982, 2035.975708, -2593.042969, 13.230430, 0.0000, 0.0000, 359.1406);
    gate4 = CreateObject(972, 2022.972656, -2508.442139, 12.543756, 0.0000, 0.0000, 270.7226);
    gate5 = CreateObject(972, 1954.147705, -2507.751221, 12.560999, 0.0000, 0.0000, 269.8632);



return 1;
}


//-----------------------------------street------------------------------------------------------------------
if (strcmp("/streethelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________________________________________________");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|~|~|Commands|~|~|");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "/streets - Igraci startaju race.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/streetp - Dize se ogradiza za start.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/ssr1 - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/ssr2 - Poziva igraca na startnu liniju.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/street1o - Otvara garazu sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/street1z - Zatvara vrata sa NRG-ovima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/street2o - Otvara garazu sa infuriusima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "/street2z - Zatvara vrata sa infuriusima.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________________________________________________");
        return 1;
}
if(strcmp(cmdtext,"/clearchat",true)==0)
{
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
SendClientMessage(playerid,COLOR_WHITE," ");
return 1;
}
    if (strcmp(cmd, "/ssr1", true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /ssr1 [playerid/PartOfName]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 2)
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, 2043.5605,-2586.4756,13.2524,5.0);
CP[giveplayerid] = 300;
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), " ORGANIZATOR %s je pozvao %s na start liniju broj 1!", sendername, giveplayer);
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani za koristenje ove naredbe !");
}
}
return 1;
}
    if (strcmp(cmd, "/ssr2", true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /ssr2 [playerid/PartOfName]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 2)
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, 2043.6409,-2600.1001,13.2522,5.0);
CP[giveplayerid] = 300;
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), " ORGANIZATOR %s je pozvao %s na start liniju broj 2!", sendername, giveplayer);
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani za koristenje ove naredbe !");
}
}
return 1;
}
    if(strcmp(cmdtext,"/streets",true)==0)
{
        MoveObject(gate3,2035.766235, -2592.735107, 6.705438, 50.000);
return 1;
}
if(strcmp(cmdtext,"/streetp",true)==0)
{
        MoveObject(gate3,2035.975708, -2593.042969, 13.230430,50.000);
return 1;
}
if(strcmp(cmdtext,"/street1o",true)==0)
{
        MoveObject(gate4,2022.632202, -2508.722168, 2.433338,5);
return 1;
}
if(strcmp(cmdtext,"/street1z",true)==0)
{
        MoveObject(gate4,2022.972656, -2508.442139, 12.543756,5);
return 1;
}
if(strcmp(cmdtext,"/street2o",true)==0)
{
    MoveObject(gate5,1954.121216, -2508.379395, 3.571644,5);
return 1;
}
if(strcmp(cmdtext,"/street2z",true)==0)
{
        MoveObject(gate5,1954.147705, -2507.751221, 12.560999,5);
return 1;
}
if(strcmp(cmd, "/gotostreet", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 2109.9766,-2547.8933,13.2440);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 2109.9766,-2547.8933,13.2440);
}
SendClientMessage(playerid, COLOR_GRAD1, "   Teleportiran si !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "  Nisi autoriziran za koristenje te komande!");
}
}
return 1;
}

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM











pa nije ali nisam znao di da stavim xD


nemam slike jer nemam san andreas vise ;)

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









jer moze neko da mi kaze gde ovo da stavim tacno?:)

Nema /gotonrg /gotostreet komanda nisi uradio,kako ce mo mi znati de se nalaze?  :P




A i vi ste mi pametni nalazi se na aeru valjda , a sto refreshate temu staru godinu dana , i on je pitao za pomoc a nije release skriptu , jeste da je u filter scripte podforumu
Poslednja Izmena: Januar 25, 2011, 16:50:08 POSLE PODNE od [SA]Tinu_Tuna[URP]