[HELP] My Checkpoint Streamer isn't doing anything!
#1

Hello i have recently downloaded DragSta checkpoint streamer.
I have read the topic about hes streamer and did everything it was asked.
And still the checkpoint streamer isn't working
This is what i did :
Код:
new cp1;

public OnPlayerEnterCheckpoint(playerid)
{
	CheckpointCheck(playerid);
	return 1;
}
public OnGameModeInit()
{
	StartSystem();
	cp1 = CreateCheckpoint(-1, 1627.4449, 637.8243, 10.8203, 3.0,40.0); //-1 = all players
	return 1;
}
public OnPlayerConnect(playerid)
{
	ClearVars(playerid);
	SyncCheckpoints(playerid);
	return 1;
}
public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
	if(streamid == cp1)
  	{
	SendClientMessage(playerid, COLOR_WHITE, "You walk into the checkpoint and you get teleported to a farm.");
	SetPlayerPos(playerid, 1524.4906, 9.6358, 24.1406);
	return 1;
  	}
  return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)