Need help
#6

pawn Код:
new racestarted;
new InRace[MAX_PLAYERS];
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(racestarted == 0)
    {
    SetPlayerPos(playerid, 0.0, 0.0, 0.0);//put the XYZ Pos's correct
    new vehicle = CreateVehicle(411, 0.0, 0.0, 0.0, 0.0, 1, 0, 100);//put the params correct
    PutPlayerInVehicle(playerid, vehicle, 0);
    InRace[playerid] = 1;
    }
    else
    {
    PlayerSpectatePlayer(playerid, playerid-1);
    }
    return 1;
}
Reply


Messages In This Thread
Need help - by domceo1 - 20.01.2011, 16:50
Re: Need help - by domceo1 - 20.01.2011, 16:57
Re: Need help - by domceo1 - 20.01.2011, 17:12
Respuesta: Need help - by [M]xFire - 20.01.2011, 17:15
Re: Respuesta: Need help - by SkizzoTrick - 20.01.2011, 17:21
Re: Respuesta: Need help - by HyperZ - 20.01.2011, 17:26
Re: Respuesta: Need help - by SkizzoTrick - 20.01.2011, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)