This function adds a 'static' pickup to the game. These pickups support weapons, health, armor etc., with the ability to function without scripting them (weapons/health/armor will be given automatically).
|model||The model of the pickup.|
|type||The pickup type. Determines how the pickup responds when picked up.|
|Float:X||The X coordinate to create the pickup at.|
|Float:Y||The Y coordinate to create the pickup at.|
|Float:Z||The Z coordinate to create the pickup at.|
|virtualworld||The virtual world ID to put tht pickup in. Use -1 to show the pickup in all worlds.|
1 if the pickup is successfully created.
0 if failed to create.
This function doesn't return a pickup ID that you can use in, for example, OnPlayerPickUpPickup. Use CreatePickup if you'd like to assign IDs.