29.04.2014, 09:38
pawn Код:
new telecp_1;
new telecp_2;
public OnGameModeInit()
telecp_1 = CreateDynamicCP(YOUR_X, YOUR_Y, YOUR_Z, 1.5, -1, -1, -1, 150.0);
telecp_2 = CreateDynamicCP(YOUR_X, YOUR_Y, YOUR_Z, 3.0, -1, 5, -1, 300.0);
public OnPlayerEnterCheckpoint(playerid, checkpointid)
{
if(checkpointid == lobbyexit)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -527.7829,2312.0740,50.1866);
}
return 1;
}
error 025: function heading differs from prototype
what is the problem