problems calling functions
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

problems calling functions

Started by Corayzon, 31 May, 2004, 02:59:09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Corayzon

hey guys...

i got quite a little problem, that is as follows...

i have the function banUser(sBanner, sToBan, sReason)...

now ptokax wont execute this function at all! and it doesnt pass any errors.

But if i change the name to ban2User then it will execute...

i just want to know if this is because ptokax allready has a global function called banUser, or is it part of another problem.

note:: im working with ptokax 0.3.3.0 [d15.25]
also:: the script that im having these problems with can be downloaded from ere

thankz guys!


Corayzon

After some more testing i have found...

that with the function getBan deleted from MY scripts...

ptokax doesnt send 'attemp to call function 'whatever' a nill value'

so it seems that ptokax doesnt use this function, but it does seem to be declared

please help

Corayzon

stupid me... the kicking.lua file had 2 declerations and which the second one loaded is empty

dardidardidaaarrrrr!

*smakes head on wall*

SMF spam blocked by CleanTalk