like ago to change the 407 pickup to 406 once I bought a prop?

Started by UrbanY, May 22, 2018, 10:51 PM

Previous topic - Next topic

UrbanY

like ago to change the 407 pickup to 406 once I bought a prop?

Kid_Buu

Use this system: https://forum.vc-mp.org/?topic=4503.0

or use something like this at the time of purchase the prop:
local pickup = FindPickup( text.tointeger() ), x = pickup.Pos.x, y = pickup.Pos.y, z = pickup.Pos.z;
pickup.Remove();
CreatePickup( 406, Vector( x.tofloat(), y.tofloat(), z.tofloat() ) )