07.08.2010, 12:20
I kinda don't get what you mean but try this :
(Okay so I'm assuming your using Incognitos plugin)
(Okay so I'm assuming your using Incognitos plugin)
pawn Код:
new LOL[MAX_PLAYERS];
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == Enter1)
{
LOL[playerid] = 1;
}
else if(checkpointid == Enter2)
{
LOL[playerid] = 2;
}
else if(checkpointid == Enter3)
{
LOL[playerid] = 3;
}
return 1;
}
public OnPlayerExitDynamicCP(playerid, checkpointid)
{
if(checkpointid == Exit)
{
if(LOL[playerid] == 1)
{
SetPlayerPos(...);
}
else if(LOL[playerid] == 2)
{
SetPlayerPos(...);
}
else if(LOL[playerid] == 3)
{
SetPlayerPos(...);
}
return 1;
}