check points for enter and exit
#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


Messages In This Thread
check points for enter and exit - by samiulla - 16.01.2019, 17:33
Re: check points for enter and exit - by ApolloScripter - 16.01.2019, 18:17
Re: check points for enter and exit - by L0K3D - 16.01.2019, 21:15
Re: check points for enter and exit - by BOyka1 - 16.01.2019, 21:43
Re: check points for enter and exit - by L0K3D - 17.01.2019, 05:31
Re: check points for enter and exit - by samiulla - 30.01.2019, 04:02

Forum Jump:


Users browsing this thread: 1 Guest(s)