PutPlayerInVehicle problem
#6

Okay you're almost there, but you need to get the vehicleid from somewhere too, as the variable does not exist in this context, for example:

pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)
{ // 411 is the infernus model
     SetPlayerVirtualWorld(playerid, 1);
     PutPlayerInVehicle(playerid, 411, 0);
}
Reply


Messages In This Thread
PutPlayerInVehicle problem - by manchestera - 23.10.2011, 15:26
Re: PutPlayerInVehicle problem - by JaTochNietDan - 23.10.2011, 15:55
Re: PutPlayerInVehicle problem - by manchestera - 23.10.2011, 16:00
Re: PutPlayerInVehicle problem - by JaTochNietDan - 23.10.2011, 16:04
Re: PutPlayerInVehicle problem - by manchestera - 23.10.2011, 16:12
Re: PutPlayerInVehicle problem - by JaTochNietDan - 23.10.2011, 16:19
Re: PutPlayerInVehicle problem - by manchestera - 23.10.2011, 16:59
Re: PutPlayerInVehicle problem - by JaTochNietDan - 23.10.2011, 17:04
Re: PutPlayerInVehicle problem - by manchestera - 23.10.2011, 17:26
Re: PutPlayerInVehicle problem - by JaTochNietDan - 23.10.2011, 17:29

Forum Jump:


Users browsing this thread: 3 Guest(s)