freeze car
#1

how i can create vehicle with with closed doors, always full hp and freezed on spawn coordinates (players can not shift)? thx!
Reply
#2

You mean a static vehicle which cannot be driven?
Reply
#3

Quote:
Originally Posted by Lucases
Посмотреть сообщение
You mean a static vehicle which cannot be driven?
yes i mean that
Reply
#4

https://sampwiki.blast.hk/wiki/AddStaticVehicle
Reply
#5

pawn Код:
public OnGamemodeInit()
{
          new staticvehicle = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
          SetVehicleParamsEx(staticvehicle, 0, 0, 0, 1, 0, 0, 0);
          return 1;
}

I don't know how many vehicles you want to spawn, if you want just one use this code
Reply
#6

just one, big thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)