#6

well you need an array for every player that joins the race so

Код:
new Joined[MAX_PLAYERS]; // at the top of the script

Joined[playerid] = 1; // under /race command

if(strcmp(cmd, "/go", true) == 0)
{
     for(new i=0; i<MAX_PLAYERS; i++)
     {
          if(Joined[i] == 1)
         {
             TogglePlayerControllable(i, true);
         }
     }
     return 1;
 }
Reply


Messages In This Thread
Help - by ColdXX - 19.10.2010, 17:51
Re: Help - by TouR - 19.10.2010, 17:58
Re: Help - by ColdXX - 19.10.2010, 18:12
Re: Help - by TouR - 19.10.2010, 18:31
Re: Help - by ColdXX - 19.10.2010, 18:47
Re: Help - by TouR - 19.10.2010, 19:07

Forum Jump:


Users browsing this thread: 4 Guest(s)