Fire-Wolf
S.P.D Smoke Pot Daily, Legalize It!
- Reaction score
- 54
Hello im just starting to learn jass, and im creating a code. Please tell me what keeps giving me this syntax error. +rep for all those who help.
JASS:
function DisplayRandInt takes nothing returns nothing
local integer udq_Rand
local force udg_Force
set udg_Rand == GetRandomInt(0, 5)
if (IsPlayerInForce(GetLocalPlayer(), udg_Force)) then
call DisplayTextToForce(, 0, 0, "udg_Rand")
endif
endfunction