[SSCANF2] help
#1

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
Reply
#2

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).
Reply
#3

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
Reply
#4

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

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.
Reply
#6

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

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

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

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.

Reply
#10

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


Forum Jump:


Users browsing this thread: 5 Guest(s)