player legs sticking from car floor
#6

@mastermax when u set skin in vehicle that happens so u can get the player vehicleid b4 they chane skin in the vehicle and and then put them back in it

pawn Код:
/*
Using Zcmd + sscanf i made u a command showing an example of how to script
a change skin command to avoid such bug
*/


CMD:skin(playerid, params[])
{
  new skin;
  if(sscanf(params, "i", skin)) return SendClientMessage(playerid, -1, "/skin [id]");
  if(IsPlayerInAnyVehicle(playerid))
  {
    new v[2];
    v[0] = GetPlayerVehicleSeat(playerid);
    v[1] = GetPlayerVehicleId(playerid);
    SetPlayerSkin(playerid, skin);
    PutPlayerInVehicle(playerid, v[1], v[0]);
  }
  else
  {
    SetPlayerSkin(playerid, skin);
  }
  return 1;
}
Reply


Messages In This Thread
player legs sticking from car floor - by mastermax7777 - 12.03.2013, 04:55
Re: player legs sticking from car floor - by Shouty - 12.03.2013, 10:14
Re: player legs sticking from car floor - by freddy smyth - 12.03.2013, 10:17
Re: player legs sticking from car floor - by MP2 - 12.03.2013, 11:48
Re: player legs sticking from car floor - by mastermax7777 - 13.03.2013, 01:28
Re: player legs sticking from car floor - by Glad2BeHere - 13.03.2013, 02:05
Re: player legs sticking from car floor - by mastermax7777 - 13.03.2013, 03:55

Forum Jump:


Users browsing this thread: 3 Guest(s)