IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Post mod/code requests in the Mod Requests topic

Post mod releases in the Mod Showroom

Read the Modding Rules BEFORE posting!

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Pickup in Cars Help

 
nottheonlychris  
Posted: Friday, Jun 8 2012, 04:59
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jun 8, 2012

XXXXX



Hello everyone

I'm trying to make a script for GTAIV with the .NET ScriptHook

All I want to do is make it so you can pickup all items while you're in your car in multiplayer.

I've had a look at the examples and the API docs but I can't work it out.

I found that pickups have a property called CollectableByCar which you can set, but how and where?

There's functions for getting all the objects/peds/vehicles from the World class but not pickups. Also these functions are labelled as slow which I imagine they would be.

Any ideas?

Thanks
PM
  Top
 

 
hardsty1e  
Posted: Friday, Jun 8 2012, 07:43
Quote Post


Rat
Group Icon
Group: Members
Joined: May 2, 2009

XXXXX



native SET_ALL_PICKUPS_OF_TYPE_COLLECTABLE_BY_CAR? idk maybe it'll work.
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG