player legs sticking from car floor
#1

i see player head above roof and legs sticking from vehicle... how to fix this?

I use createvehicle at player's pos and then put him inside same vehicle

then vehiclepos to a nearby location
Reply
#2

Reinstal your SaMp. Is a visual bug I guess.
Reply
#3

Do you have any mods?
Reply
#4

Sounds like you're setting the player's skin while they are in a vehicle.
Reply
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
Sounds like you're setting the player's skin while they are in a vehicle.
thanks brah..
Reply
#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
#7

who ever -repped me for saying brah.. stfu brah u med?..

and this guy^ trying to get posts? i already solve this kthxbye
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)