| Tematy otagowane jako: sprawdzcie |
| 1. Uczę się, sprawdzcie to dlaczego nie działa. |
Napisa?em "skrypt" na napis powitalny, taki prosty bo sie ucz?.
function powitanie ( thePlayer )
outputChatBox ( "Witam gnoju", getRootElement(), 255, 0, 0, true )
end
addEventHandler ( "onPlayerJoin", powitanie )
Dlaczego nie dzia?a ?
To mam w mecie
<meta>
<info author="Autor" version="1.0" type="script" />
<script src="powitanie.lua" type="client" />
</meta> |
| 2. Sprawdzcie to |
Witam,
napisa?em skrypt na w??czanie ?wiate? i ich wy??czanie, i nie dzia?a powiedzcie mi co tu jest ?le
function consoleVehicleLights (player)
playerVehicle = getPedOccupiedVehicle (player)
if ( playerVehicle ) then
if ( getVehicleOverrideLights ( playerVehicle ) ~= 2 ) then
setVehicleOverrideLights ( playerVehicle, 2 )
else
setVehicleOverrideLights ( playerVehicle, 1 )
end
end
end
bindKey ( string "L", string "down", string consoleVehicleLights ( player )) |
|