25.09.2013, 15:15
Hello everyone,
Im trying to make it so when you take out your weapon out if your inventory it does a reload animation but i cant figur out a way to make it work. if you guys could tell me how to do this that would be great !
thanks for your time!
Im trying to make it so when you take out your weapon out if your inventory it does a reload animation but i cant figur out a way to make it work. if you guys could tell me how to do this that would be great !
pawn Код:
if(IsValidObject(LootObjects[8]) && IsPlayerInRangeOfPoint(playerid,10.0,2384.59448,-1674.36279,13.74557))
{
AddItem(playerid,"Desert Eagle",1);
//animation code here?
SendClientMessage(playerid, COLOR_GREEN, "* 1 Desert Eagle has been added to your inventory");
DestroyObject(LootObjects[8]);
}