14.02.2011, 17:01
pawn Код:
enum checkpointsdata
{
carcp,
}
new checkpoints[checkpointsdata];
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
switch(checkpointid)
{
case checkpoints[carcp]: // this line makes the error!
{
return 1;
}
}
return 1;
}