Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Any simple examples for ped spawning?

Featured Replies

I'm confused with type Vector3

If I want to spawn SWAT ped at the center of LSIA

How should I make instance of the ped with this 

public Ped(
	Model model,
	Vector3 position,
	float heading
)

 

private Ped pedName

pedName = new Ped(Ped String or Hash, Vector3, Heading);

Also make sure you block gta from taking over the ped and despawning it:

pedName.IsPersistent = true;
pedName.BlockPermanentEvents = true;

 

For the spawn point, you need to get the coordinates, I recommend using this tool for that:

It's really nice if you want a lot of spawn points, it can save them to an XML file.

Edited by HazyTube

  • Author
2 hours ago, HazyTube said:

private Ped pedName

pedName = new Ped(Ped String or Hash, Vector3, Heading);

Also make sure you block gta from taking over the ped and despawning it:


pedName.IsPersistent = true;
pedName.BlockPermanentEvents = true;

 

For the spawn point, you need to get the coordinates, I recommend using this tool for that:

It's really nice if you want a lot of spawn points, it can save them to an XML file.

Whoa this is great! Thanks for your help

But what does 3rd argument Heading means?

  • Management Team
40 minutes ago, Lit'Wayne said:

Whoa this is great! Thanks for your help

But what does 3rd argument Heading means?

 

Heading refers to the orientation of the ped/entity in the game world, a value ranging from 0-360 degrees. It is the 2D (in that it does not take up/down into account) representation of an entity's direction.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author
45 minutes ago, LMS said:

 

Heading refers to the orientation of the ped/entity in the game world, a value ranging from 0-360 degrees. It is the 2D (in that it does not take up/down into account) representation of an entity's direction.

Then where does 0 degree heads? The North?

  • Author
3 hours ago, LMS said:

 

Heading refers to the orientation of the ped/entity in the game world, a value ranging from 0-360 degrees. It is the 2D (in that it does not take up/down into account) representation of an entity's direction.

I tried using CoordSaverV 

But it doesnt work when I put commands on RagePluginHook console

Is it right? Or IS there any other way to use it?

18 minutes ago, Lit'Wayne said:

I tried using CoordSaverV 

But it doesnt work when I put commands on RagePluginHook console

Is it right? Or IS there any other way to use it?

Read the documentation on the download page on how to use it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.