check points for enter and exit
#1

can any suggest me how to make red checkpoints for enter and exit?
i want to make it for interiors
Reply
#2

Hello samiulla, I do not know how to put the chekpoint red, but you can put some "pickup" to set the place of entry and exit, just follow the code below:

CreateDynamicPickup(modelid, type, Float, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);

HERE, you can see all PickUp Model's ID.
CLICK HERE, for more informations.
CLICK HERE To read a red checkpoint tutorial.
Reply
#3

It`s impossible to create a checkpoint that can be used by all players. You can use pickups:

Код:
CreatePickup(19605, 1, Float:X, Float:Y, Float:Z, virtualworld = 0);
Image: https://i.imgur.com/ZHXLiBH.png
Reply
#4

I Recommend you to use streamer plugin
PHP код:
CreateDynamicPickup(modelidtypeFloat:xFloat:yFloat:zworldid = -1interiorid = -1playerid = -1Float:streamdistance 100
You'll use this to create the pickup for example
test= CreateDynamicPickup(1318,1,x,y,z,0,0,-1,250); worldid=0 if you want it to be in world 0, interiorid, thats to be in the streets, playerid= make it -1 if you want to show it for all the players, steamdistance, that's will appear when the player is close to it you can make it as you want,
if you dont know how to make the exit/enter
You'll have to make a pickup as enter, and you'll go to onplayerpickupdynamicpickup, and get the cordinates of the interior and put it using SetPlayerPos, and use SetPlayerInterior the interior id,
and when you get into the interior make an exit pickup, and in onplayerpickupdynamicpickup, SetPlayerpos, to out of the interior, and Set his interior to 0
Reply
#5

It's possible to create a CP that does not appear on minimap? Because i think that's what samiulla want to do.
Reply
#6

Guys i am talking about this checkpoint for enter and exit from the house
also it should appears on minimap
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)