Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Скрипт создания машин и телепорта

Май
17
-1
Пользователь
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[]) {
if (strcmp(cmdtext, "/car", true) == 0) {
new vehicleid = CreateVehicle(411, 0.0, 0.0, 5.0, 0.0, -1, -1, -1); // Создаем Infernus
PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}

if (strcmp(cmdtext, "/tp", true) == 0) {
SetPlayerPos(playerid, 0.0, 0.0, 3.0); // Телепорт на координаты
return 1;
}
return 0;
}
 
Сверху