Teleports.
#9

Quote:
Originally Posted by Death1300
Посмотреть сообщение
-I've installed the streamer plugin but it doesn't still work.

EDIT: Ill try it now, one min.
Include streamer.inc to your script. Use CreateDymanicCP to create the checkpoint.

pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
When a player enters any dynamic checkpoint, OnPlayerEnterDynamicCP will be called.
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
Note that you should get the checkpointid while creating the dynamic checkpoint and in the callback to check if the checkpointid is the one you created, so teleport the player.
Reply


Messages In This Thread
[SOLVED]Teleport's. - by Sledgehammer - 23.11.2013, 20:06
Re: Teleports. - by DarkLored - 23.11.2013, 20:09
Re: Teleports. - by Sledgehammer - 23.11.2013, 20:10
Re: Teleports. - by Konstantinos - 23.11.2013, 20:10
Re: Teleports. - by Sledgehammer - 23.11.2013, 20:30
Re: Teleports. - by DarkLored - 23.11.2013, 20:31
Re: Teleports. - by Spydah - 23.11.2013, 20:36
Re: Teleports. - by Sledgehammer - 23.11.2013, 20:37
Re: Teleports. - by Konstantinos - 23.11.2013, 20:42
Re: Teleports. - by Spydah - 23.11.2013, 21:09

Forum Jump:


Users browsing this thread: 1 Guest(s)