Seraphim8400
Warlord
- Joined
- Nov 7, 2010
- Messages
- 112
i try like this
but log
i try another way
then it error too
Runtime Error: [string "Historical end/HistoricalEnd.lua"]:140: attempt to call global 'loadstring' (a nil value)
so how can i call function sino_HM1() by a string value "sino_HM1"?
Code:
stemp = stemp .. "_HM" .. "1";
print(stemp);
_G[stemp]();
Code:
HistoricalEnd: sino_HM1
Runtime Error: [string "Historical end/HistoricalEnd.lua"]:140: attempt to index global '_G' (a nil value)
i try another way
Code:
loadstring(stemp .. "()")();
Runtime Error: [string "Historical end/HistoricalEnd.lua"]:140: attempt to call global 'loadstring' (a nil value)
so how can i call function sino_HM1() by a string value "sino_HM1"?