PutPlayerInVehicle does nothing:'(
#3

pawn Код:
CMD:vehicle(playerid,params[])
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid,x,y,z);
    new vehicle = CreateVehicle(411, x, y, z, 90, 0, 1, 60);
    PutPlayerInVehicle(playerid,vehicle,0);
    return 1;
}
This is one of the correct usages of the function. If you know the vehicleid, you can use it there too (like Konstantinos said, there's a difference between the modelid and vehicleid).
Reply


Messages In This Thread
PutPlayerInVehicle does nothing:'( - by Mennims - 15.09.2013, 15:41
Re: PutPlayerInVehicle does nothing:'( - by Konstantinos - 15.09.2013, 15:43
Re: PutPlayerInVehicle does nothing:'( - by Jstylezzz - 15.09.2013, 15:47
Re: PutPlayerInVehicle does nothing:'( - by Mennims - 15.09.2013, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)