SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/01/2013, 01:45 PM   #1
nmader
Gangsta
 
Join Date: Jul 2011
Posts: 639
Reputation: 52
Default SSCANF issue (file not found)

Basically I am having a SSCANF issue in which the file is not being located, even though I have it in my PAWNO>Includes folder.

pawn Code:
C:\Users\namder\Desktop\CoV;RP\gamemodes\TLRP.pwn(8) : fatal error 100: cannot read from file: "sscanf"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

I am completely clueless on how to fix the situation...
__________________
Script in Development
Server IP: Unavailable
Teamspeak: Unavailable
Website: Unavailable
nmader is offline   Reply With Quote
Old 12/01/2013, 01:55 PM   #2
Windrush
Gangsta
 
Windrush's Avatar
 
Join Date: Aug 2012
Location: asdasdasdasd
Posts: 638
Reputation: 18
Default Re: SSCANF issue (file not found)

You Must Click Pawn.exe not the script
Windrush is offline   Reply With Quote
Old 12/01/2013, 01:56 PM   #3
Infinity90
Gangsta
 
Infinity90's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 511
Reputation: 38
Default Re: SSCANF issue (file not found)

You possibly could be using another Pawno.exe which doesn't have the include.
Try opening CoV;RP > Pawno > Pawno.exe > Open > TLRP.pwn > Compile, try that.
__________________
Coding for money.
______________________________________________
You need to give respect to earn it.
______________________________________________
My Work
Dynamic Entrance System
EasyScript System
Infinity90 is offline   Reply With Quote
Old 12/01/2013, 02:00 PM   #4
Scyattica
Little Clucker
 
Join Date: Jun 2012
Posts: 22
Reputation: 1
Default Re: SSCANF issue (file not found)

Try
Code:
#include <sscanf2>
Scyattica is offline   Reply With Quote
Old 12/01/2013, 02:07 PM   #5
LarzI
High-roller
 
LarzI's Avatar
 
Join Date: Apr 2007
Location: Norway
Posts: 2,628
Reputation: 136
Default Re: SSCANF issue (file not found)

Quote:
Originally Posted by nmader View Post
Basically I am having a SSCANF issue in which the file is not being located, even though I have it in my PAWNO>Includes folder.

pawn Code:
C:\Users\namder\Desktop\CoV;RP\gamemodes\TLRP.pwn(8) : fatal error 100: cannot read from file: "sscanf"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

I am completely clueless on how to fix the situation...
You probably get this error because you have two instances of pawno.exe, and the one you're running while compiling lies in another folder (not in the CoV;RP\Pawno folder). Try manually going to C:\Users\namder\Desktop\CoV;RP\Pawno and, open up pawno.exe and press Open and select your TLRP.pwn file.
__________________


NEW: [FS] Simple Cellphones

if( strfind( title, "REP", true ) != -1 )
{________________________________________
Sigh();__________________________
}________________________________________


LarzI is offline   Reply With Quote
Old 12/01/2013, 02:16 PM   #6
nmader
Gangsta
 
Join Date: Jul 2011
Posts: 639
Reputation: 52
Default Re: SSCANF issue (file not found)

I have done all of this; however I did find a way around it by adding in the SSCANF stock into the gamemode itself.
__________________
Script in Development
Server IP: Unavailable
Teamspeak: Unavailable
Website: Unavailable
nmader is offline   Reply With Quote
Old 12/01/2013, 02:25 PM   #7
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,831
Reputation: 1401
Default Re: SSCANF issue (file not found)

Plugin is better and faster. Moreover, the include should be "sscanf2". Last, download the server package again, add your gamemode/filterscripts and add the includes/plugins (latest versions), recompile your gamemode and it'll probably fix your problem.
Note: Run the pawno.exe of your main folder to open your scripts, do not double click them.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help] +1 rep sscanf warning: No default value found. THE_KING$5$ Scripting Help 7 31/07/2012 05:09 AM
File or function is not found Rafa Scripting Help 3 24/03/2012 11:39 PM
File not found Kingunit Help Archive 2 15/08/2011 05:19 PM
File not found? iFriSki Server Support 6 22/08/2010 10:14 PM


All times are GMT. The time now is 12:12 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.