[Pomoc]Eror

Započeo JuustyGe, Novembar 24, 2010, 21:12:01 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Koji kurac vise ovo hoce u picku materinu

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
     if(newstate == 2)
    {
        new CarCheck = GetPlayerVehicleID(playerid);
        if(CarCheck == Cars[GroveStreet] )
        {
            if(gPlayerCitySelection[playerid] != 1)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "Nemozes voziti ovo auto");
                return 1;
            }
        }
        if(CarCheck == Cars[Police] )
        {
            if(gPlayerCitySelection[playerid] != 2)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "Nemozes voziti ovo auto");
                return 1;
            }
           
    if( newkeys == KEY_SECONDARY_ATTACK )
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1310.1250,-1368.2325,13.5464))
{//Dolica enter.
SetPlayerPos( playerid, -794.806396,497.738037,1376.195312 );
            SetPlayerInterior( playerid, 1 );
            GameTextForPlayer( playerid, "~w~Dolice Vita", 3000, 3 );
}
if(IsPlayerInRangeOfPoint(playerid,  3.0, -794.806396,497.738037,1376.195312))
{//Dolica exit.
GameTextForPlayer(playerid, "~w~Hvala na posjeti", 5000, 1);
SetPlayerInterior( playerid, 0 );
SetPlayerPos(playerid, 1310.1250,-1368.2325,13.5464);
}

        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1297.2711,-1423.6738,14.9531))
{//Stunt arena enter
SetPlayerPos( playerid, -1465.268676,1557.868286,1052.531250 );
            SetPlayerInterior( playerid, 14 );
            GameTextForPlayer( playerid, "~w~Stunt Arena", 3000, 3 );
}
if(IsPlayerInRangeOfPoint(playerid,  3.0, -1465.268676,1557.868286,1052.531250))
{//Stunt arena exit
GameTextForPlayer(playerid, "~w~Hvala na posjeti", 5000, 1);
SetPlayerInterior( playerid, 0);
SetPlayerPos(playerid, 1297.2711,-1423.6738,14.9531);

    }

        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1367.9093,-1279.9172,13.5469))
{//Ammunation enter
SetPlayerPos( playerid, 314.820983,-141.431991,999.601562 );
            SetPlayerInterior( playerid, 7 );
            GameTextForPlayer( playerid, "~w~Ammu Nation", 3000, 3 );
}
if(IsPlayerInRangeOfPoint(playerid,  3.0, 314.820983,-141.431991,999.601562))
{//Ammunation exit
GameTextForPlayer(playerid, "~w~Hvala na posjeti", 5000, 1);
SetPlayerInterior( playerid, 0);
SetPlayerPos(playerid, 1367.9093,-1279.9172,13.5469);
    }

        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1554.0132,-1675.4054,16.1953))
{//Policija enter
SetPlayerPos( playerid, 246.783996,63.900199,1003.640625 );
            SetPlayerInterior( playerid, 6 );
            GameTextForPlayer( playerid, "~w~Ammu Nation", 3000, 3 );
}
if(IsPlayerInRangeOfPoint(playerid,  3.0, 246.783996,63.900199,1003.640625))
{//Policija exit
GameTextForPlayer(playerid, "~w~Hvala na posjeti", 5000, 1);
SetPlayerInterior( playerid, 0);
SetPlayerPos(playerid, 1554.0132,-1675.4054,16.1953);
    }
}
}


Jebem mu sunce

C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(352) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(951) : error 004: function "UpdateTime" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(1708) : error 017: undefined symbol "GetWeaponType"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(1709) : error 017: undefined symbol "GetWeaponType"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(1715) : error 017: undefined symbol "GetWeaponModel"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(1772) : error 017: undefined symbol "SaveWeaponsToFile"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(1924) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(1965) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2006) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2059) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2125) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2163) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2201) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2239) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2282) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2369) : error 017: undefined symbol "GetWeaponNameEx"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2369) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2375) : error 017: undefined symbol "RemovePlayerWeapon"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2406) : error 017: undefined symbol "GetWeaponNameEx"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2406) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2544) : error 017: undefined symbol "newstate"
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2553) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2562) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2622) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2622) : error 004: function "Textici" is not implemented
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2626) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2631) : warning 225: unreachable code
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2631) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Kartal\Desktop\Extensa DM\gamemodes\grandlarci.pwn(2631) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.

Koliko vidim fali ti jedna }

mislim da je ovde if(CarCheck == Cars[Police] )
        {
            if(gPlayerCitySelection[playerid] != 2)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "Nemozes voziti ovo auto");
                return 1;
            }


Treba ti jos jedna }