15.01.2011, 09:14
pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerCheckpoint(playerid, Float:cp_x, Float:cp_y, Float:cp_z, 5.0);// keep in mind only one checkpoint
return 1; //can be shown to a player at any one time.
} //So try to find a streamer that will stream them for you.
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0,Float:cp_x, Float:cp_y, Float:cp_z))
GameTextForPlayer(playerid, "HELLO!", 3000, 3);
return 1;
}