Gamefr@nk,
Code
function Trig_TwoQest_Actions takes nothing returns nothing
local integer Time_One = 30
local string String_One = "Этот ткст с переменными[DUOS]"
call DisplayTimedTextToForce(GetPlayersAll(), Time_One , "String_One" )
endfunction
Неправильные типы юзаешь.
Code
function Trig_TwoQest_Actions takes nothing returns nothing
local real Time_One = 30
local string String_One = "Этот ткст с переменными[DUOS]"
call DisplayTimedTextToForce(GetPlayersAll(), Time_One , String_One)
endfunction
Вот так надо. Переменные-строки юзай без кавычек.
Code
function Trig_ThreeQest_Actions takes nothing returns nothing
local integer i = 5
if (i == 5) then
set i = i +3
else
call DoNothing()
endif
call DisplayTimedTextToForce(GetPlayersAll(), i , "Hi 8 second")
endfunction
Вот так надо:
DoNothing() ничего не делает, смысл использовать? Оо
Code
function Trig_ThreeQest_Actions takes nothing returns nothing
local integer i = 5
if i == 5 then
set i = i +3
endif
call DisplayTextToPlayer(GetLocalPlayer(), i , "Hi 8 second")
endfunction
Эм... 4-е задание не будем обсуждать даже. Туча утечек. Ну, пока сойдёт.