Spawn
#2

Код:
PutPlayerInVehicle(playerid, 411, 0);
you here put player in a vehicle which its id is 411, not it's model.
function's structure:
Код:
PuPlayerInVehicle(playerid, vehicleid, seatid)
i guess you here meant 411 as a vehicle model id, but it's the vehicle id where to put the player, defined by AddStaticVehicle or CreateVehicle, so you need to create the vehicle, and assign a variable for the function's return value, and use that variable that holds the vehicleid in PutPlayerInVehicle, like this
Код:
new veh;
veh = CreateVehicle(411, // the rest of params); 
PutPlayerInVehicle(playerid, veh, 0);
Reply


Messages In This Thread
Spawn - by Micko123 - 14.05.2016, 08:00
Re: Spawn - by Sawalha - 14.05.2016, 08:08
Re: Spawn - by iggy1 - 14.05.2016, 08:16
Re: Spawn - by Micko123 - 14.05.2016, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)