YCP helpp
#1

I'm using YCP and i need help.
I wrote in YCP topic but nobody answered me.

Wrote all the commands where they needed to be.

Checkpoint shows up perfectly. But when i enter it nothing happens.

Код:
public OnPlayerEnterCheckpoint(playerid)
{
	YCP_OnPlayerEnterCheckpoint(playerid);
	if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && IsPlayerInStreamCheckpoint(playerid,Docks))
	{
	  return SendClientMessage(playerid,COLOR_ORANGE,"[INFO] Turi buti masinoi.");
	}
	else if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && IsPlayerInStreamCheckpoint(playerid,Docks))
	{
	  ShowMenuForPlayer(Dokai,playerid);
	}
	return 1;
}
That's my OnPlayerEnterCheckpoint callback. I didn't find any other good Checkpoint streamers so i used this one. If u know a better one please tell me it.
Reply


Messages In This Thread
YCP helpp - by Gamer007 - 23.05.2009, 19:45
Re: YCP helpp - by Gamer007 - 24.05.2009, 10:40
Re: YCP helpp - by Gamer007 - 24.05.2009, 14:46

Forum Jump:


Users browsing this thread: 5 Guest(s)