13.09.2009, 17:45
Well i would suggest this
Then make a new public
This is untested , just made this as i read the post xD .......
pawn Код:
forward NearObject(playerid);
new MultipleObjects[MAX_PLAYERS];
pawn Код:
if (strcmp("/race", cmdtext,true, 10) == 0)
{
CreateObject(coords);
racecheckpoint[playerid] = 1;
return 1;
}
pawn Код:
public NearObject(playerid)
{
DestroyObject(objectid);
if(MultipleObjects[playerid] == 1)
{
CreateObject(next object coords);
MultipleObjects[playerid] = 2; // NEXT Object
}
return 1;
}