SA-MP Forums Archive
[SSCANF2] help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SSCANF2] help (/showthread.php?tid=198178)



[SSCANF2] help - blackwave - 11.12.2010

I downloaded it from ****** topic, the lastest version of sscanf at now.

Look my include: sscanf2.inc
pawn Код:
/*  
 *  Version: MPL 1.1
 *  
 *  The contents of this file are subject to the Mozilla Public License Version
 *  1.1 (the "License"); you may not use this file except in compliance with
 *  the License. You may obtain a copy of the License at
 *  http://www.mozilla.org/MPL/
 *  
 *  Software distributed under the License is distributed on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 *  for the specific language governing rights and limitations under the
 *  License.
 *  
 *  The Original Code is the sscanf 2.0 SA:MP plugin.
 *  
 *  The Initial Developer of the Original Code is Alex "******" Cole.
 *  Portions created by the Initial Developer are Copyright © 2010
 *  the Initial Developer. All Rights Reserved.
 *  
 *  Contributor(s):
 *  
 *  Special Thanks to:
 *  
 *  SA:MP Team past, present and future
 */


native sscanf(const data[], const format[], {Float,_}:...);
native unformat(const data[], const format[], {Float,_}:...) = sscanf;
and on my script I put
Код:
#include <sscanf2>
and give me these errors:

Quote:

:\Documents and Settings\F e L i P e\Desktop\Server SAMP\pawno\include\sscanf2.inc(27) : error 021: symbol already defined: "sscanf"
C:\Documents and Settings\F e L i P e\Desktop\Server SAMP\pawno\include\sscanf2.inc(2 : error 021: symbol already defined: "unformat"

Also, on my server.cfg, I put:

Код:
 plugins sscanf2
and returns on console, when I open the server:
Код:
SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[10:59:01] 
[10:59:01] Server Plugins
[10:59:01] --------------
[10:59:01]  Loading plugin: sscanf2
[10:59:01]   Failed.
[10:59:01]  Loaded 0 plugins.

[10:59:01] 
[10:59:01] Filter Scripts
[10:59:01] ---------------
[10:59:01]   Loading filter script 'adminx.amx'...
[10:59:01] ******************************
[10:59:01] **FeLiPe's admin FS LOADED****
[10:59:01] ******************************
[10:59:01]   Loading filter script 'tunetest.amx'...
[10:59:01] 
--------------------------------------
[10:59:01]  Tune...
[10:59:01] --------------------------------------

[10:59:01]   Loading filter script 'shop.amx'...
[10:59:01] ---
Loaded ShopSystem by Darkimmortal
---
[10:59:01]   Loading filter script 'Objetos.amx'...
[10:59:01]   Loading filter script 'coisas.amx'...
[10:59:01]   Loaded 5 filter scripts.

[10:59:01] ************ FELIPE GM *****************
[10:59:01] Number of vehicle models: 0
[10:59:04] --- Server Shutting Down.
[10:59:04] ******************************
[10:59:04] **FeLiPe's admin FS UNLOADED****
[10:59:04] ******************************
[10:59:04] ---
Sistema de Shop by [PMs]Tinorks
---
Any idea? X__X


Re: [SSCANF2] help - woot - 11.12.2010

Don't forget to remove the normal sscanf functions / include. I think the old sscanf function is somewhere in the ZCMD function (if you use it).


Re: [SSCANF2] help - blackwave - 11.12.2010

Quote:
Originally Posted by exora
Посмотреть сообщение
Don't forget to remove the normal sscanf functions / include. I think the old sscanf function is somewhere in the ZCMD function (if you use it).
ew, there's none. I made an new FS, and returned same errors by adding #include <sscanf2> :

Код:
C:\Documents and Settings\F e L i P e\Desktop\Server SAMP\pawno\include\sscanf2.inc(27) : error 021: symbol already defined: "sscanf"
C:\Documents and Settings\F e L i P e\Desktop\Server SAMP\pawno\include\sscanf2.inc(28) : error 021: symbol already defined: "unformat"
Also sscanf doesn't loads on plugins.
If anyone have this include or the plugin of sscanf2, please upload and give me link


Re: [SSCANF2] help - Rachael - 11.12.2010

you might have the plugin name wrong
Код:
plugins sscanf
try this


Re: [SSCANF2] help - blackwave - 11.12.2010

That's like this now. Same error: Failed to load

Do you have the sscanf2.inc and the sscanf.dll plugin? if yes, please upload it. Really need.


Re: [SSCANF2] help - Rachael - 11.12.2010

https://sampforum.blast.hk/showthread.php?tid=120356


Re: [SSCANF2] help - blackwave - 11.12.2010

Quote:
Originally Posted by Rachael
Посмотреть сообщение
Already told I downloaded from this topic


Re: [SSCANF2] help - Rachael - 11.12.2010

way to use large text and not get any more help from me.


Re: [SSCANF2] help - blackwave - 11.12.2010

Quote:
Originally Posted by Rachael
Посмотреть сообщение
way to use large text and not get any more help from me.
Whatever. Do not blame me if you don't know to read the first line of topic:

Quote:

I downloaded it from ****** topic, the lastest version of sscanf at now.




Re: [SSCANF2] help - GaGlets(R) - 11.12.2010

make sure its not already defined in other includes.. - check all inclide (ctrl+F type in sscanf and search)