12.03.2011, 08:05
Try something like this:
It works for me.
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if( IsValidDynamicCP( npcp ) )
{
DestroyDynamicCP( npcp );
SendClientMessage(playerid,0xA9C4E4FF,"please press 'F' to call the elevator and wait for it to come. after that please go inside and press 'F'.");
}
return 1;
}