26.06.2016, 23:29
PHP код:
@Resolvido
@Resolvido
if(PRESSED(KEY_WALK))
{
new anim = GetPlayerAnimationIndex(playerid);
if(anim == 1643)
{
if(!IsPlayerInAnyVehicle(playerid))
{
if(IsPlayerInRangeOfPoint(playerid,1.1,Loot[GetLootIDFunction(playerid)][xLootdrop],Loot[GetLootIDFunction(playerid)][yLootdrop],Loot[GetLootIDFunction(playerid)][zLootdrop]))
{
DayZSA_DisplayLootFunction(playerid);
}
}
}
}