6,834
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = gta.createPickup | ||
|side = shared | |||
|type = function | |type = function | ||
| | |games = iii vc sa iv | ||
| | |desc = add a pickup, use the [[addToWorld|addToWorld]] function afterwards to add the pickup to the players games | ||
| | |arg1 = int model The pickup model ID. | ||
| | |arg2 = [Vec3 position = Vec3(0.0,0.0,0.0)] The position for the pickup. | ||
| | |arg3 = [int pickupType = 2] The pickup type. | ||
| | |return = Pickup The pickup handle. | ||
| | |freturn = null n/a | ||
| | |note = Please note that pickup type 0 is invalid. | ||
}} | }} |
edits