23.07.2010, 02:41
ok everything since we added
at top
OnPlayerSpawn
OnPlayerEnterCheckpoint
NO ERRORS JUST NOTHING HAPPENS WHEN ENTERS CP
at top
pawn Код:
new CheckPoint[MAX_PLAYERS];
new MCP;
pawn Код:
MCP = SetPlayerCheckpoint(playerid, -329.5715, 1536.9965, 76.6117, 4.0);
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(CheckPoint[playerid] == MCP)
{
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
return 1;
}
return 0;
}