[Pomoc] Imam problem u FS

Započeo Don Stone, Januar 20, 2011, 22:24:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ako moze ko pomoci evo cijela skripta.


//FS by Don_Stone
//===========Include==================
#include <a_samp>
#include <streamer>
//==========Pokretne kapije new===================
new rally1;
new rally2;
new rally3;
new rally4;
new rally5;
new rally6;
new rally7;
new rally8;
new Rallykapija;
//===========Define==========================
#define ZUTO             0xDABB3EAA
#define CRVENO           0xAA3333AA
#define COLOR_LIGHTRED   0xFF8080FF
public OnGameModeInit()
{

//------------------------------------ Rally auta--------------------------------------------
    rally1 = AddStaticVehicle(495,2510.9324,2792.8301,11.1708,270.2988,2,3); // rally auto
    rally2 = AddStaticVehicle(495,2510.7805,2797.7764,11.1697,270.6394,1,6); // rally auto
    rally3 = AddStaticVehicle(495,2510.7036,2802.6572,11.1708,270.6336,77,45); // rally auto
    rally4 = AddStaticVehicle(495,2510.6196,2807.8176,11.1708,271.0718,37,27); // rally auto
    rally5 = AddStaticVehicle(495,2510.5432,2812.8882,11.1722,271.7112,6,5); // rally auto
    rally6 = AddStaticVehicle(495,2510.5459,2817.9470,11.1784,271.2184,95,59); // rally auto
    rally7 = AddStaticVehicle(495,2510.4812,2823.2246,11.1713,269.8190,19,13); // rally auto
    rally8 = AddStaticVehicle(495,2510.5510,2828.3066,11.1714,269.4132,72,76); // rally auto
//Rally race Objekti//
    CreateDynamicObject(982, -504.48175048828, 2627.4970703125, 53.199180603027, 0, 0, 358.26501464844);
    CreateDynamicObject(982, -504.96762084961, 2611.5129394531, 53.199180603027, 0, 0, 358.26416015625);
    CreateDynamicObject(982, -506.1106262207, 2574.748046875, 53.199180603027, 0, 0, 358.26416015625);
    CreateDynamicObject(982, -506.56503295898, 2560.1411132813, 53.199180603027, 0, 0, 358.26416015625);
    CreateDynamicObject(982, -519.7177734375, 2547.3129882813, 53.199180603027, 0, 0, 270.10949707031);
    CreateDynamicObject(982, -530.89868164063, 2547.2963867188, 53.199180603027, 0, 0, 270.10437011719);
    CreateDynamicObject(982, -543.36273193359, 2560.0822753906, 53.198989868164, 0, 0, 178.36462402344);
    CreateDynamicObject(982, -553.07611083984, 2580.7385253906, 53.199180603027, 0, 0, 232.13793945313);
    CreateDynamicObject(982, -552.92022705078, 2607.4855957031, 53.199180603027, 0, 0, 124.54092407227);
    CreateDynamicObject(982, -541.99139404297, 2627.5090332031, 53.199180603027, 0, 0, 178.36303710938);
    CreateDynamicObject(982, -516.88537597656, 2640.2446289063, 53.197624206543, 0, 0, 270.10437011719);
    CreateDynamicObject(982, -528.83319091797, 2640.2841796875, 53.200569152832, 0, 0, 270.10437011719);
    CreateDynamicObject(978, -510.01864624023, 2598.9123535156, 53.25564956665, 0, 0, 180.32043457031);
    CreateDynamicObject(978, -510.35382080078, 2587.279296875, 53.25564956665, 0, 0, 0.358642578125);
//Rally kapija
    Rallykapija = CreateObject(984, -505.51812744141, 2593.9404296875, 53.110206604004, 0, 0, 358.01501464844);

return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

//------------------------------------------Rally-----------------------------------------------------------
if (strcmp(cmdtext, "/ra", true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /ra [ID/Ime]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, -506.2717,2592.8655,53.4154,8.0);
CP[giveplayerid] = 300;
    SendClientMessage(playerid, COLOR_POZIVANJE, "Pozvan si na Rally Race.");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani da koristite ovu komandu !");
}
}
return 1;
}
//Rally Ograda
if(strcmp(cmdtext,"/rstart",true)==0)
{
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
            SetTimer("Rallyz", 3000, 0);
SendClientMessageToAll(COLOR_SVIJETLOZELENA, "Rally pocinje za 3 sekunde.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi Admin.");
}
return 1;
}
if(strcmp(cmdtext,"/rc",true)==0)
{
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
            MoveObject(Rallykapija, -505.51812744141, 2593.9404296875, 53.110206604004 ,9.000 );

SendClientMessage(playerid, COLOR_SVIJETLOZELENA, "Dizete Rally ogradu.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi Admin.");
}
return 1;
}

//rally event
if(strcmp(cmdtext,"/rallycar",true)==0)
{
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
SetVehiclePos(rally1, -529.3320,2604.9124,53.7687);
            SetVehiclePos(rally2, -534.1188,2604.9304,53.7652);
            SetVehiclePos(rally3, -529.2275,2611.5325,53.7650);
            SetVehiclePos(rally4, -534.1337,2611.6821,53.7665);
            SetVehiclePos(rally5, -529.1537,2618.1052,53.7650);
            SetVehiclePos(rally6, -534.0591,2618.1133,53.7591);
            SetVehiclePos(rally7, -529.0500,2624.2734,53.7671);
            SetVehiclePos(rally8, -533.9155,2624.2708,53.7659);
SetVehicleZAngle(rally1,270.3007);
SetVehicleZAngle(rally2,270.3007);
SetVehicleZAngle(rally3,270.3007);
SetVehicleZAngle(rally4,270.3007);
SetVehicleZAngle(rally5,270.3007);
SetVehicleZAngle(rally6,270.3007);
SetVehicleZAngle(rally7,270.3007);
SetVehicleZAngle(rally8,270.3007);
SendClientMessage(playerid, COLOR_SVIJETLOZELENA, "Stvorili ste Rally auta.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi Admin.");
}
return 1;
}
//---------------------------------Check Pointi--------------------------------------------
public OnPlayerEnterCheckpoint(playerid)
{

//-------------------------------------------------Rally-------------------------------------------------------------------------------------------------------------------------
    else if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-381.0479,2582.7529,40.8072,8.0); }//Rally 1
else if(CP[playerid] == 301) { CP[playerid] = 302; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-433.7266,2716.0010,62.9098,8.0); }//Rally 2
else if(CP[playerid] == 302) { CP[playerid] = 303; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-553.4186,2709.4326,67.0757,8.0); }//Rally 3
else if(CP[playerid] == 303) { CP[playerid] = 304; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-550.2041,2479.3557,67.4586,8.0); }//Rally 4
else if(CP[playerid] == 304) { CP[playerid] = 305; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-396.6135,2452.9373,42.4904,8.0); }//Rally 5
else if(CP[playerid] == 305) { CP[playerid] = 306; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-399.7422,2288.0774,40.4865,8.0); }//Rally 6
else if(CP[playerid] == 306) { CP[playerid] = 307; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-647.2491,2446.4846,106.8281,8.0); }//Rally 7
else if(CP[playerid] == 307) { CP[playerid] = 308; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-716.2424,2380.2847,128.1975,8.0); }//Rally 8
else if(CP[playerid] == 308) { CP[playerid] = 309; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-841.3444,2407.0779,121.8632,8.0); }//Rally 9
else if(CP[playerid] == 309) { CP[playerid] = 310; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-775.2737,2554.8125,87.3015,8.0); }//Rally 10
else if(CP[playerid] == 310) { CP[playerid] = 311; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-736.8208,2520.7048,77.4711,8.0); }//Rally 11
else if(CP[playerid] == 311) { CP[playerid] = 312; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-722.1011,2564.1992,72.2594,8.0); }//Rally 12
else if(CP[playerid] == 312) { CP[playerid] = 313; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-699.0298,2687.5889,56.7555,8.0); }//Rally 13
else if(CP[playerid] == 313) { CP[playerid] = 314; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-773.9106,2696.8928,47.4123,8.0); }//Rally 14
else if(CP[playerid] == 314) { CP[playerid] = 315; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-793.9406,2731.3564,45.6755,8.0); }//Rally 15
    else if(CP[playerid] == 315) { CP[playerid] = 316; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1221.9352,2671.3647,46.6557,8.0); }//Rally 16
    else if(CP[playerid] == 316) { CP[playerid] = 317; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1083.4266,2271.9275,87.5389,8.0); }//Rally 17
    else if(CP[playerid] == 317) { CP[playerid] = 318; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1227.2368,2069.5122,77.8811,8.0); }//Rally 18
    else if(CP[playerid] == 318) { CP[playerid] = 319; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1232.8563,1936.5283,43.2873,8.0); }//Rally 19
    else if(CP[playerid] == 319) { CP[playerid] = 320; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1233.9597,1892.7593,42.1646,8.0); }//Rally 20
    else if(CP[playerid] == 320) { CP[playerid] = 321; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1159.9926,1797.8778,40.4028,8.0); }//Rally 21
    else if(CP[playerid] == 321) { CP[playerid] = 322; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-908.7454,1791.1423,60.5440,8.0); }//Rally 22
    else if(CP[playerid] == 322) { CP[playerid] = 323; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-704.4327,2055.2756,60.5310,8.0); }//Rally 23
    else if(CP[playerid] == 323) { CP[playerid] = 324; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-466.0294,2049.4277,61.2173,8.0); }//Rally 24
    else if(CP[playerid] == 324) { CP[playerid] = 325; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-373.0063,2163.2742,42.6264,8.0); }//Rally 25
    else if(CP[playerid] == 325) { CP[playerid] = 326; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-371.9172,2353.1245,30.0497,8.0); }//Rally 26
    else if(CP[playerid] == 326) { CP[playerid] = 327; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-394.9331,2464.6841,42.1253,8.0); }//Rally 27
    else if(CP[playerid] == 327) { CP[playerid] = 328; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-348.7216,2521.9839,36.3174,8.0); }//Rally 28
    else if(CP[playerid] == 328) { CP[playerid] = 329; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-404.2513,2589.1233,42.8666,8.0); }//Rally 29
    else if(CP[playerid] == 329) { CP[playerid] = 330; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-508.4895,2592.4163,53.7684,8.0); }//Rally 30
else if(CP[playerid] == 330)//Kraj Rally-a
    {
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s je upravo zavrsio Rally Race. ", name);
SendClientMessageToAll(COLOR_LIGHTRED, string);
DisablePlayerCheckpoint(playerid);
CP[playerid] = 0;
}


Gdje sam pogrijesio ?  :( Ovo je FS
 
Moji Radovi:
_________________________________________
_________________________________________


jel ovo

"if(IsPlayerAdmin(playerid))" ???????????????????????????
 
Moji Radovi:
_________________________________________
_________________________________________


Gle sad  :(

C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : warning 217: loose indentation
C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : warning 215: expression has no effect
C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : warning 215: expression has no effect
C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Servis\Desktop\SKRIPTANJE 2\Balkan Empire\GTARP\filterscripts\Rally.pwn(69) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Evo skripte

//FS by Don_Stone
//===========Include==================
#include <a_samp>
#include <streamer>
//==========Pokretne kapije new===================
new rally1;
new rally2;
new rally3;
new rally4;
new rally5;
new rally6;
new rally7;
new rally8;
new Rallykapija;
//===========Define==========================
#define ZUTO             0xDABB3EAA
#define CRVENO           0xAA3333AA
#define COLOR_LIGHTRED   0xFF8080FF
#define COLOR_GRAD2      0xBFC0C2FF
public OnGameModeInit()
{

//------------------------------------ Rally auta--------------------------------------------
    rally1 = AddStaticVehicle(495,2510.9324,2792.8301,11.1708,270.2988,2,3); // rally auto
    rally2 = AddStaticVehicle(495,2510.7805,2797.7764,11.1697,270.6394,1,6); // rally auto
    rally3 = AddStaticVehicle(495,2510.7036,2802.6572,11.1708,270.6336,77,45); // rally auto
    rally4 = AddStaticVehicle(495,2510.6196,2807.8176,11.1708,271.0718,37,27); // rally auto
    rally5 = AddStaticVehicle(495,2510.5432,2812.8882,11.1722,271.7112,6,5); // rally auto
    rally6 = AddStaticVehicle(495,2510.5459,2817.9470,11.1784,271.2184,95,59); // rally auto
    rally7 = AddStaticVehicle(495,2510.4812,2823.2246,11.1713,269.8190,19,13); // rally auto
    rally8 = AddStaticVehicle(495,2510.5510,2828.3066,11.1714,269.4132,72,76); // rally auto
//Rally race Objekti//
    CreateDynamicObject(982, -504.48175048828, 2627.4970703125, 53.199180603027, 0, 0, 358.26501464844);
    CreateDynamicObject(982, -504.96762084961, 2611.5129394531, 53.199180603027, 0, 0, 358.26416015625);
    CreateDynamicObject(982, -506.1106262207, 2574.748046875, 53.199180603027, 0, 0, 358.26416015625);
    CreateDynamicObject(982, -506.56503295898, 2560.1411132813, 53.199180603027, 0, 0, 358.26416015625);
    CreateDynamicObject(982, -519.7177734375, 2547.3129882813, 53.199180603027, 0, 0, 270.10949707031);
    CreateDynamicObject(982, -530.89868164063, 2547.2963867188, 53.199180603027, 0, 0, 270.10437011719);
    CreateDynamicObject(982, -543.36273193359, 2560.0822753906, 53.198989868164, 0, 0, 178.36462402344);
    CreateDynamicObject(982, -553.07611083984, 2580.7385253906, 53.199180603027, 0, 0, 232.13793945313);
    CreateDynamicObject(982, -552.92022705078, 2607.4855957031, 53.199180603027, 0, 0, 124.54092407227);
    CreateDynamicObject(982, -541.99139404297, 2627.5090332031, 53.199180603027, 0, 0, 178.36303710938);
    CreateDynamicObject(982, -516.88537597656, 2640.2446289063, 53.197624206543, 0, 0, 270.10437011719);
    CreateDynamicObject(982, -528.83319091797, 2640.2841796875, 53.200569152832, 0, 0, 270.10437011719);
    CreateDynamicObject(978, -510.01864624023, 2598.9123535156, 53.25564956665, 0, 0, 180.32043457031);
    CreateDynamicObject(978, -510.35382080078, 2587.279296875, 53.25564956665, 0, 0, 0.358642578125);
//Rally kapija
    Rallykapija = CreateObject(984, -505.51812744141, 2593.9404296875, 53.110206604004, 0, 0, 358.01501464844);

return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

//------------------------------------------Rally-----------------------------------------------------------
if (strcmp(cmdtext, "/ra", true)==0)
{
if(IsPlayerAdmin(playerid))
{
new idx;
new strtok;
new tmp;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /ra [ID/Ime]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerAdmin(playerid))
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, -506.2717,2592.8655,53.4154,8.0);
CP[giveplayerid] = 300;
    SendClientMessage(playerid, COLOR_POZIVANJE, "Pozvan si na Rally Race.");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani da koristite ovu komandu !");
}
}
return 1;
}
//Rally Ograda
if(strcmp(cmdtext,"/rstart",true)==0)
{
    if(IsPlayerAdmin(playerid))
    {
            SetTimer("Rallyz", 3000, 0);
SendClientMessageToAll(COLOR_SVIJETLOZELENA, "Rally pocinje za 3 sekunde.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi Admin.");
}
return 1;
}
if(strcmp(cmdtext,"/rc",true)==0)
{
    if(IsPlayerAdmin(playerid))
    {
            MoveObject(Rallykapija, -505.51812744141, 2593.9404296875, 53.110206604004 ,9.000 );

SendClientMessage(playerid, COLOR_SVIJETLOZELENA, "Dizete Rally ogradu.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi Admin.");
}
return 1;
}

//rally event
if(strcmp(cmdtext,"/rallycar",true)==0)
{
    if(IsPlayerAdmin(playerid))
    {
SetVehiclePos(rally1, -529.3320,2604.9124,53.7687);
            SetVehiclePos(rally2, -534.1188,2604.9304,53.7652);
            SetVehiclePos(rally3, -529.2275,2611.5325,53.7650);
            SetVehiclePos(rally4, -534.1337,2611.6821,53.7665);
            SetVehiclePos(rally5, -529.1537,2618.1052,53.7650);
            SetVehiclePos(rally6, -534.0591,2618.1133,53.7591);
            SetVehiclePos(rally7, -529.0500,2624.2734,53.7671);
            SetVehiclePos(rally8, -533.9155,2624.2708,53.7659);
SetVehicleZAngle(rally1,270.3007);
SetVehicleZAngle(rally2,270.3007);
SetVehicleZAngle(rally3,270.3007);
SetVehicleZAngle(rally4,270.3007);
SetVehicleZAngle(rally5,270.3007);
SetVehicleZAngle(rally6,270.3007);
SetVehicleZAngle(rally7,270.3007);
SetVehicleZAngle(rally8,270.3007);
SendClientMessage(playerid, COLOR_SVIJETLOZELENA, "Stvorili ste Rally auta.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi Admin.");
}
return 1;
}
//---------------------------------Check Pointi--------------------------------------------
public OnPlayerEnterCheckpoint(playerid)
{

//-------------------------------------------------Rally-------------------------------------------------------------------------------------------------------------------------
    else if(CP[playerid] == 300) { CP[playerid] = 301; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-381.0479,2582.7529,40.8072,8.0); }//Rally 1
else if(CP[playerid] == 301) { CP[playerid] = 302; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-433.7266,2716.0010,62.9098,8.0); }//Rally 2
else if(CP[playerid] == 302) { CP[playerid] = 303; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-553.4186,2709.4326,67.0757,8.0); }//Rally 3
else if(CP[playerid] == 303) { CP[playerid] = 304; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-550.2041,2479.3557,67.4586,8.0); }//Rally 4
else if(CP[playerid] == 304) { CP[playerid] = 305; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-396.6135,2452.9373,42.4904,8.0); }//Rally 5
else if(CP[playerid] == 305) { CP[playerid] = 306; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-399.7422,2288.0774,40.4865,8.0); }//Rally 6
else if(CP[playerid] == 306) { CP[playerid] = 307; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-647.2491,2446.4846,106.8281,8.0); }//Rally 7
else if(CP[playerid] == 307) { CP[playerid] = 308; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-716.2424,2380.2847,128.1975,8.0); }//Rally 8
else if(CP[playerid] == 308) { CP[playerid] = 309; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-841.3444,2407.0779,121.8632,8.0); }//Rally 9
else if(CP[playerid] == 309) { CP[playerid] = 310; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-775.2737,2554.8125,87.3015,8.0); }//Rally 10
else if(CP[playerid] == 310) { CP[playerid] = 311; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-736.8208,2520.7048,77.4711,8.0); }//Rally 11
else if(CP[playerid] == 311) { CP[playerid] = 312; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-722.1011,2564.1992,72.2594,8.0); }//Rally 12
else if(CP[playerid] == 312) { CP[playerid] = 313; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-699.0298,2687.5889,56.7555,8.0); }//Rally 13
else if(CP[playerid] == 313) { CP[playerid] = 314; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-773.9106,2696.8928,47.4123,8.0); }//Rally 14
else if(CP[playerid] == 314) { CP[playerid] = 315; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-793.9406,2731.3564,45.6755,8.0); }//Rally 15
    else if(CP[playerid] == 315) { CP[playerid] = 316; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1221.9352,2671.3647,46.6557,8.0); }//Rally 16
    else if(CP[playerid] == 316) { CP[playerid] = 317; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1083.4266,2271.9275,87.5389,8.0); }//Rally 17
    else if(CP[playerid] == 317) { CP[playerid] = 318; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1227.2368,2069.5122,77.8811,8.0); }//Rally 18
    else if(CP[playerid] == 318) { CP[playerid] = 319; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1232.8563,1936.5283,43.2873,8.0); }//Rally 19
    else if(CP[playerid] == 319) { CP[playerid] = 320; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1233.9597,1892.7593,42.1646,8.0); }//Rally 20
    else if(CP[playerid] == 320) { CP[playerid] = 321; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-1159.9926,1797.8778,40.4028,8.0); }//Rally 21
    else if(CP[playerid] == 321) { CP[playerid] = 322; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-908.7454,1791.1423,60.5440,8.0); }//Rally 22
    else if(CP[playerid] == 322) { CP[playerid] = 323; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-704.4327,2055.2756,60.5310,8.0); }//Rally 23
    else if(CP[playerid] == 323) { CP[playerid] = 324; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-466.0294,2049.4277,61.2173,8.0); }//Rally 24
    else if(CP[playerid] == 324) { CP[playerid] = 325; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-373.0063,2163.2742,42.6264,8.0); }//Rally 25
    else if(CP[playerid] == 325) { CP[playerid] = 326; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-371.9172,2353.1245,30.0497,8.0); }//Rally 26
    else if(CP[playerid] == 326) { CP[playerid] = 327; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-394.9331,2464.6841,42.1253,8.0); }//Rally 27
    else if(CP[playerid] == 327) { CP[playerid] = 328; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-348.7216,2521.9839,36.3174,8.0); }//Rally 28
    else if(CP[playerid] == 328) { CP[playerid] = 329; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-404.2513,2589.1233,42.8666,8.0); }//Rally 29
    else if(CP[playerid] == 329) { CP[playerid] = 330; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-508.4895,2592.4163,53.7684,8.0); }//Rally 30
else if(CP[playerid] == 330)//Kraj Rally-a
    {
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s je upravo zavrsio Rally Race. ", name);
SendClientMessageToAll(COLOR_LIGHTRED, string);
DisablePlayerCheckpoint(playerid);
CP[playerid] = 0;
}
Poslednja Izmena: Januar 20, 2011, 23:49:01 POSLE PODNE od Don Stone
 
Moji Radovi:
_________________________________________
_________________________________________