check points for enter and exit -
samiulla - 16.01.2019
can any suggest me how to make red checkpoints for enter and exit?
i want to make it for interiors
Re: check points for enter and exit -
ApolloScripter - 16.01.2019
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.
Re: check points for enter and exit -
L0K3D - 16.01.2019
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
Re: check points for enter and exit -
BOyka1 - 16.01.2019
I Recommend you to use streamer plugin
PHP код:
CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float: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
Re: check points for enter and exit -
L0K3D - 17.01.2019
It's possible to create a CP that does not appear on minimap? Because i think that's what samiulla want to do.
Re: check points for enter and exit -
samiulla - 30.01.2019
Guys i am talking about this checkpoint for enter and exit from the house
also it should appears on minimap