Returning to ID 0 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Returning to ID 0 (
/showthread.php?tid=290967)
Returning to ID 0 -
sodeo - 17.10.2011
Hello all
I have a rather large problem with my game mode.
For some reason or another, every single command is returning back to ID 0.
For example, If I /ban 2 then ID 0 will get banned.
I have no idea what's going on, it was working fine yesterday and earlier on but now it's not.
All the commands are fine, is there something obvious i'm missing off OnGameModeInit or something?
My commands are all in dcmd.
Regards
Dan.
Re: Returning to ID 0 -
JaTochNietDan - 17.10.2011
Do you use the "u" parameter in sscanf? If so, did you update your server to 0.3d?
If all of the above are correct, then the problem is that sscanf is not currently coded for the 0.3d release, the "u" parameter is not working as intended and will not work as intended until updated by the author.
Re: Returning to ID 0 -
sodeo - 17.10.2011
I do use the "u" parameter in sscanf yes although I haven't updated yet to 0.3d - I am on 0.3c RC5 if that helps?
Respuesta: Returning to ID 0 -
Super_Panda - 17.10.2011
Can you please show your code?
Re: Returning to ID 0 -
sodeo - 17.10.2011
1) Can't at the moment, on phone.
2) Which part of my code? Its affected every command of the gamemode.
Re: Returning to ID 0 -
Azzeto - 17.10.2011
If its affecting everycommand and you use dcmd, mabye it could be somthing with OnPlayerCommandText? Not sure thought, I don't use DCMD.
Re: Returning to ID 0 -
sodeo - 17.10.2011
Possibly. I'll check it out tomorrow. I am off to bed now - night night lovely people.