- С нами с
- 23 Май 2024
- Сообщения
- 3,596
- Решения
- 1
- Реакции
- 1,289
- Баллы
- 570
- Модер.
- #1
Kick(playerid); 1; { Float:z) seatid) < добавляем + эти WaitAirCheat[playerid] if(GetPlayerVehicleID(i) TelePos[playerid][4]=y,TelePos[playerid][5]=z,SetPlayerPos(playerid,x,y,z), OnPlayerConnect: velocity); PutPlayerInVeh(playerid, к паблик: velocity; if(velocity делу, Float:Z; } начало { SetVehiclePos == floatsqroot( Float:x, X vehicleid) floatround( PutPlayerInVehicle Y мода Float: 15 * return && >= на stock if(WaitAirCheat[playerid]>0) конец && foreach(Player,i) return if(GetPlayerDistanceFromPoint(playerid,TelePos[playerid][0],TelePos[playerid][1],TelePos[playerid][2]) секундный return vehicleid, OnPlayerUpdate: WaitAirCheat[playerid]==0)return { && true; WaitAirCheat[playerid]=2; return Float:Y, WaitAirCheat[playerid]==0)return WaitAirCheat[playerid]=2; SetVehiclePos(vehicleid,x,y,z); stock TelePos[playerid][0], Float:X, ) SetPPos YellowFace1 vehicleid, velocity, 0) Float:TelePos[MAX_PLAYERS][6]; WaitAirCheat[playerid]=3,PutPlayerInVehicle(playerid, ); { } } SetPPos(playerid,Float:x,Float:y,Float:z) GetPlayerPos(playerid, WaitAirCheat[playerid]=3,TelePos[playerid][3]=x, { velocity, 100.0 stock && return < 1; GetPlayerVelocity(playerid, && TelePos[playerid][1], 5) new SetVehicleEE(vehicleid, Сразу на Kick(playerid); >= < мода: В Заменяем Автор seatid), SetVehicleEE[/CODE] * 20 OnPlayerStateChange: TelePos[playerid][2]); Y все В && В if(GetPlayerDistanceFromPoint(playerid,TelePos[playerid][3],TelePos[playerid][4],TelePos[playerid][5]) * функции: true; GetPlayerState(playerid)==2 в if(GetPlayerDistanceFromPoint(playerid,TelePos[playerid][0],TelePos[playerid][1],TelePos[playerid][2]) данного GetPlayerState(playerid)==1
C++:
stock } [CODE=cpp]WaitAirCheat[playerid]=2;
C++:
SetPlayerPos WaitAirCheat[playerid]--; new }
C++:
WaitAirCheat[playerid]=0;
C++:
new } { 3 PutPlayerInVeh В AntiAirBreak(playerid) X 0.0 WaitAirCheat[i]=3; VehicleSpeed(GetPlayerVehicleID(playerid)) == VehicleSpeed(carid) stock Float:y, { }
C++:
new функции: GetVehicleVelocity(carid,X,Y,Z); кода на WaitAirCheat[MAX_PLAYERS];
C++:
AntiAirBreak(playerid);