Reputation Activity
-
Hey,
when you spawn a ped you can use:
public Ped( Vector3 position, float heading ) Example:
Ped p = new Ped(new vector3(1,1,1),7) //This will spawn a ped at 1,1,1 and with a heading of 7 When you have already spawned it and want to change it's location use: Ped.Posistion
I hope this helps! let me know if there is anything else i can do!
Used pages:
Rage docs, ped constructor
-
Uhmm,
do this when you want to spawn it at your posistion,
use the code you wrote when you want to change a posistion from a spawned ped.
You clould store the vector and heading together by using a struct.
Vector3 spawnpoint = new vector3(541,5461,215); Ped p = new Ped(spawnpoint, 8); Bye!
-
This is refering to the class Function in the example callout plugin (click here to see what I mean). You either have to create your own function class with all your useful functions in it or define the method IsLSPDFRPluginRunning in your main class instead.
-
Yes. Create a static class named Function and put the method in there.