GTA-SAMP
Каталог статей

Меню сайта

Категории раздела

Мини-чат

Статистика


Онлайн всего: 1
Гостей: 1
Пользователей: 0

CreateVehicle.
Parameters:
(modelid, Float:x, Float:y,Float:z, Float:angle, color1, color2, respawn_delay)modelid The Vehicle ID for the vehicle.
Float:X The X-coordinate for the vehicle.
Float:Y The Y-coordinate for the vehicle.
Float:Z The Z-coordinate for the vehicle.
Float:angle The facing - angle for the vehicle.
color1 The primary color ID.
color2 The secondary color ID.
respawn_delay The delay until the car is respawned without a driver in seconds.

пример:

800 - 800 секунд

public OnGameModeInit( )
{
// Add a Hydra to the game
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 800);

return 1;
}

Категория: Мои статьи | Добавил: LEXA (23.04.2009)
Просмотров: 510
Всего комментариев: 0
Имя *:
Email *:
Код *:

Вход на сайт

Поиск