Problem with speedcams
#5

Did you just copy-paste them?

Declare PlayerInfo:
pawn Код:
enum _pInfo
{
    // ... (more)
    pTicket
};

new PlayerInfo[MAX_PLAYERS][_pInfo];
Remove the stock of GetDistanceBetweenPoints from line 3257 (and the rest of its code) because it already exists.

Remove:
pawn Код:
#define COLOR_GREEN 0x05FF00FF  
#define COLOR_RED 0xFF1E00FF
Add it to the bottom:
pawn Код:
IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY)
{
    new Float:X, Float:Y, Float:Z;

    GetPlayerPos(playerid, X, Y, Z);
    if(X >= MinX && X <= MaxX && Y >= MinY && Y <= MaxY) {
        return 1;
    }
    return 0;
}
For IsModelAPlane and IsModelAHeli, ****** them.
Reply


Messages In This Thread
Problem with speedcams - by Makaak - 26.12.2013, 17:12
Re: Problem with speedcams - by Kells - 26.12.2013, 17:13
Re: Problem with speedcams - by Konstantinos - 26.12.2013, 17:17
Re: Problem with speedcams - by Makaak - 26.12.2013, 17:27
Re: Problem with speedcams - by Konstantinos - 26.12.2013, 17:37
Re: Problem with speedcams - by Makaak - 26.12.2013, 17:51
Re: Problem with speedcams - by [WA]iRonan - 26.12.2013, 18:28
Re: Problem with speedcams - by Kells - 26.12.2013, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)