Duvida
#9

Manda os erros!

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
     for(new i=0; i <= MAX_VEHICLES; i++)
     {
          if(IsPlayerInVehicle(playerid, i))
          {
               new Float:Pos[2];
               GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
               SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]+1);
          }
          else return 1;
     }
     return 1;
}
Reply


Messages In This Thread
Duvida - by rugal - 16.08.2011, 15:07
Re: Duvida - by Macintosh - 16.08.2011, 15:15
Re: Duvida - by rugal - 16.08.2011, 15:17
Re: Duvida - by rugal - 16.08.2011, 15:19
Re: Duvida - by Macintosh - 16.08.2011, 15:25
Re: Duvida - by rugal - 16.08.2011, 15:28
Re: Duvida - by Macintosh - 16.08.2011, 15:32
Re: Duvida - by rugal - 16.08.2011, 16:07
Re: Duvida - by Macintosh - 16.08.2011, 16:10
Re: Duvida - by rugal - 16.08.2011, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)