Home
Home
Register
Login

Resources
Forum






rssGround Pickups (groundpickups)

Category:script
Authors:Lex128, Riaz
Downloads:2525
Rate:You need to be logged in to vote
Rating:3.8 (43 Votes)
Description:
This script allows create pickups, which lay on ground, hang on wall, etc. While it may be only weapon.

To pickup or swap weapon press key 'k'.
To drop weapon press key 'l'.

Function to create a weapon pickup:
createGroundWeapon(weaponid, ammo, clip, posX, posY, posZ, rotX, rotY, rotZ, interior, dimension)
weaponid - the ID of weapon (for ex. - 31 (M4))
ammo - the ammo of weapon
clip - the ammo in clip of weapon (0 for full clip)
posX, posY, posZ - the position of weapon
rotX, rotY, rotZ - the rotation of weapon (for 'lay' use 97.3,120,0)
interior - the interior of weapon
dimension - the dimension of weapon

The XML format - <groundweapon weaponid="" ammo="" clip="" posX="" posY="" posZ="" rotX="" rotY="" rotZ="" interior="" dimension="" />

p.s. In the process of testing the first version and in those versions could be any bugs....

(more)

Comments (22) | Download latest version

Version history

Version Publish Date Changes
0.0.1 2010-12-12 15:56:49 First public release Download