26.12.2013, 17:37
Did you just copy-paste them?
Declare PlayerInfo:
Remove the stock of GetDistanceBetweenPoints from line 3257 (and the rest of its code) because it already exists.
Remove:
Add it to the bottom:
For IsModelAPlane and IsModelAHeli, ****** them.
Declare PlayerInfo:
pawn Код:
enum _pInfo
{
// ... (more)
pTicket
};
new PlayerInfo[MAX_PLAYERS][_pInfo];
Remove:
pawn Код:
#define COLOR_GREEN 0x05FF00FF
#define COLOR_RED 0xFF1E00FF
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;
}