Checkpoint Password
#5

make it like ,

pawn Код:
new teleport;


//this under ongamemodeinit
teleport = SetPlayerCheckpoint(playerid, -129.3005,2255.2163,27.7829,3.0);

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInCheckpoint(playerid,teleport ))
{
SendClientMessage(playerid, color , "Enter Password!);
}
return 1;
}
pawn Код:
// this under onplayercommand
}
if(!strcmp(cmdtext, "/passwordname", true))
{
if(IsPlayerInCheckpoint(playerid,teleport ))
{
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 964.106994,-53.205497,1001.124572);
SendClientMessage(playerid, COLOR_RED, "Welcome To CDB and dayav07's Hideout");
}
return 1;
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)