02.12.2013, 17:33
Quote:
No problem man, did you increase the MAX_LOOTS? its default 100 but if you have more loot objects than 100 you need to increase it.
and you have to be sure you have this: pawn Code:
|
Code:
if(IsValidObject(LootObjects[0]) && IsPlayerInRangeOfPoint(playerid, 10.0, 233.95, 4106.39, 5.69)) { AddItem(playerid,"Beer Bottle", 1); SendClientMessage(playerid, -1, "* Beer bottle added to your inventory."); DestroyObject(LootObjects[0]); }