Checkpoint Password
#1

Hi
I need something where a player enters a checkpoint and then types a /password... if it is correct, the player will then only be teleported. here is what i have:

Код:
public OnPlayerSpawn(playerid)
{
 	SetPlayerCheckpoint(playerid, -129.3005,2255.2163,27.7829,3.0);
	return 1;
}
and...

Код:
public OnPlayerEnterCheckpoint(playerid)
{
	SetPlayerInterior(playerid, 3);
	SetPlayerPos(playerid, 964.106994,-53.205497,1001.124572);
	SendClientMessage(playerid, COLOR_RED, "Welcome To CDB and dayav07's Hideout");
	return 1;
}
Please help me out thanx
Reply


Messages In This Thread
Checkpoint Password - by dayav07 - 23.09.2009, 16:16
Re: Checkpoint Password - by MultiGamer - 23.09.2009, 16:18
Re: Checkpoint Password - by shady91 - 23.09.2009, 16:25
Re: Checkpoint Password - by dayav07 - 23.09.2009, 16:56
Re: Checkpoint Password - by shady91 - 23.09.2009, 17:01
Re: Checkpoint Password - by Sznupek - 23.09.2009, 17:09
Re: Checkpoint Password - by dayav07 - 23.09.2009, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)