Posts: 116
Threads: 28
Joined: Feb 2015
Quote:
Originally Posted by Kaliber
Oh u don't use 0.3.7?
You can Update your Includes for this version...or change it to this:
PHP код:
stock GetHydraInRange(playerid)
{
for(new i,Float:p[3]; i<MAX_VEHICLES; i++)
{
if(GetVehicleModel(i) != 520) continue;
GetVehiclePos(i,p[0],p[1],p[2]);
if(IsPlayerInRangeOfPoint(playerid,6.5,p[0],p[1],p[2])) return i;
}
return 0;
}
stock IsHydraSeatFree(veh)
{
for(new i; i<MAX_PLAYERS; i++)
{
if(GetPlayerVehicleID(i) != veh) continue;
if(GetPlayerVehicleSeat(i) == 1) return 0;
}
return 1;
}
Greekz
|
im using 0.3.7
But adding your code still gives me 1 error
PHP код:
C:\Users\Charalambos\Desktop\bible\gamemodes\WarZ.pwn(4531) : error 017: undefined symbol "Enter_Hydra"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.