Loading map from files
#5

Well i would suggest this

pawn Код:
forward NearObject(playerid);
new MultipleObjects[MAX_PLAYERS];
pawn Код:
if (strcmp("/race", cmdtext,true, 10) == 0)
 {

  CreateObject(coords);
  racecheckpoint[playerid] = 1;
  return 1;
 }
Then make a new public

pawn Код:
public NearObject(playerid)

{
   DestroyObject(objectid);
   if(MultipleObjects[playerid] == 1)
   {
     CreateObject(next object coords);
     MultipleObjects[playerid] = 2; // NEXT Object
     
   }
   return 1;
}
This is untested , just made this as i read the post xD .......
Reply


Messages In This Thread
Loading map from files - by Vollzeitfan - 13.09.2009, 16:08
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 17:27
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 17:27
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 17:34
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 17:45
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 17:47
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:07
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 18:11
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:21
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 18:24
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:29
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 18:30
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:33
Re: Loading map from files - by Vollzeitfan - 14.09.2009, 18:12

Forum Jump:


Users browsing this thread: 4 Guest(s)