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

 How do I make the player teleport upon death?

 For a hospital mod
 
tidib4  
Posted: Monday, Jul 30 2012, 08:41
Quote Post


The choice is yawwws
Group Icon
Group: Members
Joined: Aug 10, 2010

XXXXX



Basically, I want to make a script in C# that makes the player teleport to the nearest hospital interior (laying down in the back room with the single bed using the save game sleep anim) upon death.
The thing is, I'm not too keen on the functions to make such an event happen upon death and the only similar mod I've seen is the prison mod, which is an asi mod.

I'm also trying to figure out how to make new safehouses (more specifically, the Majestic Hotel room) but that's going to take hours of searching through gta's files to find out just what makes a safehouse work so any help there would be much appreciated.

I'm pretty new at this so I'm still in the process of learning what functions work and which do not. Perhaps I should study C# more before trying to take on something such as this.
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