[lua] is modulo exist?

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

[lua] is modulo exist?

Post by Luk4ward »

hi,

i tried:

a & b, but got:

Code: Select all

unexpected symbol near `%'
(script is not working)

also i tried this: math.fmod(a,b) and im getting this now:

Code: Select all

attempt to call field `fmod' (a nil value)
(but the script is loading).

Am im doing smth wrong or modulo doesnt exist in this lua version?
wolFTeam.pl
Post Reply