About trunks.
#4

Quote:
Originally Posted by Flyfishes
Посмотреть сообщение
Show use the trunk enum. I think the first number is id. The second is weaponmodel for weapon 1. Third is ammo for weapon 1 etc. The last float is armour i bet.
Just studied the script and yes, the last parameter is armor.

pawn Код:
vehTrunk[idx][1] = strval(arrCoords[0]);
vehTrunkAmmo[idx][1] = strval(arrCoords[1]);
vehTrunk[idx][2] = strval(arrCoords[2]);
vehTrunkAmmo[idx][2] = strval(arrCoords[3]);
vehTrunk[idx][3] = strval(arrCoords[4]);
vehTrunkAmmo[idx][3] = strval(arrCoords[5]);
vehTrunk[idx][4] = strval(arrCoords[6]);
vehTrunkAmmo[idx][4] = strval(arrCoords[7]);
vehTrunkCounter[idx] = strval(arrCoords[8]);
vehTrunkArmour[idx] = floatstr(arrCoords[9]);
I now see how those get read, now lets see how its used...
Reply


Messages In This Thread
About trunks. - by Zh3r0 - 14.07.2011, 17:36
Re: About trunks. - by Steven82 - 14.07.2011, 19:28
Re: About trunks. - by Flyfishes - 14.07.2011, 19:28
Re: About trunks. - by Zh3r0 - 14.07.2011, 20:29
Re: About trunks. - by DRIFT_HUNTER - 14.07.2011, 21:01
Re: About trunks. - by Zh3r0 - 14.07.2011, 21:03
Re: About trunks. - by DRIFT_HUNTER - 14.07.2011, 21:10
Re: About trunks. - by Zh3r0 - 14.07.2011, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)