The Problem PutPlayerInVehicle.
#2

What are you trying to do exactly ?
Quote:
Originally Posted by Nikid
Посмотреть сообщение
pawn Код:
public OnGameModeInit(){
    Veh = CreateVehicle
    Vehl = CreateVehicle
    return true;
}
At the "OnGameModeInit()" you created 2 vehicles,
Quote:
Originally Posted by Nikid
Посмотреть сообщение
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++){
    PutPlayerInVehicle(i, Veh, 0);
    PutPlayerInVehicle(i, Veh, 1);
    PutPlayerInVehicle(i, Veh, 2);

    PutPlayerInVehicle(i, Vehl, 0);
    PutPlayerInVehicle(i, Vehl, 1);
    PutPlayerInVehicle(i, Vehl, 2);
}
Then with that loop you put the player at
The first vehicle as: Driver, then..
The first vehicle as: Front Passenger, then..
The first vehicle as: Back left passenger,
then you put the same player on the second car same as the first car, I think you need to learn more about PutPlayerInVehicle and Loops
Reply


Messages In This Thread
The Problem PutPlayerInVehicle. - by Nikid - 28.11.2013, 11:24
Re: The Problem PutPlayerInVehicle. - by xVIP3Rx - 28.11.2013, 11:30
Re: The Problem PutPlayerInVehicle. - by Nikid - 28.11.2013, 11:38
Re: The Problem PutPlayerInVehicle. - by xVIP3Rx - 28.11.2013, 11:39
Re: The Problem PutPlayerInVehicle. - by Nikid - 28.11.2013, 11:46
Re: The Problem PutPlayerInVehicle. - by xVIP3Rx - 28.11.2013, 12:03
Re: The Problem PutPlayerInVehicle. - by Nikid - 28.11.2013, 12:20
Re: The Problem PutPlayerInVehicle. - by Nikid - 28.11.2013, 12:25
Re: The Problem PutPlayerInVehicle. - by xVIP3Rx - 28.11.2013, 13:40
Re: The Problem PutPlayerInVehicle. - by Nikid - 28.11.2013, 17:13

Forum Jump:


Users browsing this thread: 7 Guest(s)