[Ajuda] Checar uso de slot
#4

PHP код:
#include <YSI\y_iterate>
static const Float:gCarShowSlots[][] = 

  {
1098.5062, -1754.922413.1775}, 
  {
1098.5096, -1757.925813.1775}, 
  {
1098.5859, -1760.869813.1764
};
static 
Iterator:gCarSlots<sizeof(gCarShowSlots)>;
main()
{
    new 
id Iter_RandomAdd(gCarSlots);
    if(
id == INVALID_ITERATOR_SLOT)
    {
        
// Todos slots ja foram usados
    
}
    else
    {
        
//Spawn on id
    
}

Reply


Messages In This Thread
Checar uso de slot - by Eddye - 22.01.2018, 00:03
Re: Checar uso de slot - by IlanZ - 22.01.2018, 01:00
Re: Checar uso de slot - by RodrigoMSR - 22.01.2018, 01:47
Re: Checar uso de slot - by Dayvison_ - 22.01.2018, 08:09
Re: Checar uso de slot - by Sky™ - 22.01.2018, 10:38

Forum Jump:


Users browsing this thread: 2 Guest(s)