mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Rewrote PLY table definition
This commit is contained in:
12
cl_radar.lua
12
cl_radar.lua
@@ -33,11 +33,13 @@ end )
|
|||||||
--[[----------------------------------------------------------------------------------
|
--[[----------------------------------------------------------------------------------
|
||||||
Player info variables
|
Player info variables
|
||||||
----------------------------------------------------------------------------------]]--
|
----------------------------------------------------------------------------------]]--
|
||||||
local PLY = {}
|
local PLY =
|
||||||
PLY.ped = PlayerPedId()
|
{
|
||||||
PLY.veh = nil
|
ped = PlayerPedId(),
|
||||||
PLY.inDriverSeat = false
|
veh = nil,
|
||||||
PLY.vehClassValid = false
|
inDriverSeat = false,
|
||||||
|
vehClassValid = false
|
||||||
|
}
|
||||||
|
|
||||||
-- Used to check if the player is in a position where the radar should be allowed operation
|
-- Used to check if the player is in a position where the radar should be allowed operation
|
||||||
function PLY:VehicleStateValid()
|
function PLY:VehicleStateValid()
|
||||||
|
|||||||
Reference in New Issue
Block a user