26.05.2010, 06:41
pawn Код:
new CP1;
public OnGameModeInit()
{
CP1 = CreateDynamicCP(....)
return 1;
}
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == CP1)
{
SetTimer("DoNothingHere", 30000, true);
TogglePlayerControllable(playerid, 0);
}
return 1;
}
forward DoNothingHere();
public DoNothingHere()
{
TogglePlayerControllable(playerd, 1);
return 1;
}

