0Admin system Problem 2: - 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: 0Admin system Problem 2: (
/showthread.php?tid=334625)
0Admin system Problem 2: -
denNorske - 15.04.2012
Can anyone see the problem? i first thought it was something like a semi colon missing ( ; ) but, i have checked it many times. If you can see the problem, can you please just write what it is?
Thanks a lot! need to be finished today.
Re: 0Admin system Problem 2: -
denNorske - 15.04.2012
Wow, it seems like that this was a seriously difficult problem... Anyone?
BUMP
Re: 0Admin system Problem 2: -
denNorske - 17.04.2012
anyone please?
Re: 0Admin system Problem 2: -
iOmar - 17.04.2012
Hmmm.... Its a serious problem

. I am not a great/pro scripter but i am g00d in scripting. Bro i suggest you to Use Lux Admin system cuz that is perfect. That is easy to understand. I am also using Taht. I am using also /onduty and /offduty cmds on that lux admins. If you say than i can teach you how to add those cmd in your script..........
Respuesta: 0Admin system Problem 2: -
aRoach - 17.04.2012
Well, it's simple...:
Quote:
Originally Posted by ******
I need to upload a new version anyway, there are a few minor "issues" (not bugs) with the current one that have been fixed. One of these fixes would address this problem slightly by making it possible to omit the "extract" macro from sscanf, but that's no use if you want both. I might be able to change the sscanf code to:
pawn Код:
#define hex:%0;unformat(_:EXTRZ:EXTRX:%1); %0;unformat(_:EXTRZ:EXTRX:%1);
That SHOULD actually fix the problem entirely, would you mind replacing "#define hex:" in your "sscanf2.inc" file with that line and see if the errors go? The only problem with this is that if people declare a variable as "hex:" when using "extract", they might then expect it to be printed as "hex" when they use this library without an explicit tag, even though in both cases the "hex:" tag is a fake hint, rather than a true tag (sort of).
Maybe I should use "from_hex:" and "from_playerid:" instead to make it clear that they STARTED as hex, but now aren't (although they sort of are given storage methods). Anyway, this isn't really the right topic for this - sorry Slice.
|
Or, you can delete:
pawn Код:
else if ( iTag == tagof( hex: ) || iTag == tagof( Hex: ) )
{
// Code..
}
Nothing happens... Because 0-Admin doesn't use that snippet of code...
Re: 0Admin system Problem 2: -
denNorske - 18.04.2012
Thanks guys

It worked
And i cant believe that ****** commented on my topic, omg...
(i really appreciate that)
Thanks again
And no thanks I0mar, thanks for suggestion, but i stick to 0Admin