Jump to content

Making a ped immortal and freezing it


Recommended Posts

So I understand that as a beginner scripter I was pushing my self so hard to make detailed and improved scripts and that was the reason why I get stuck all the time so I decided to make a simple hospital script :D . Getin mark get the health, simple logic.

I created a medic for the marker and named it as adriana lima <3 . The problem is I dont want adriana to die or escape from me. I want her to be with me till my server stays online :D .

So in short explanation, how can make a ped immortal and freeze it :D

AdrianaLima = createPed ( 276, 1181.7275390625, -1332.9736328125, 14.581448554993, -90, false ) 

Link to comment
okay thanks it worked. I dont want to open another topic so, how can i hide a DXrectangle and text? Is there anything similiar to guisetvisible function?

You need to remove the event onClientRender.

removeEventHandler 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...