YSF Problem.
#1

hey i keep getting this error on compile:
Код:
C:\Users\user\Desktop\sampserver\gamemodes\wowserv.pwn(4) : fatal error 100: cannot read from file: "YSF"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
but i have the include i saved this as YSF.inc and put it in my includes

Код:
/*----------------------------------------------------------------------------*-
                    ====================
                    Y Sever Fixes - Main
                    ====================
Description:
    Provides native declarations for YSF functions.
Legal:
    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 YSI 2.0 SA:MP plugin.
    
    The Initial Developer of the Original Code is Alex "******" Cole.
    Portions created by the Initial Developer are Copyright © 2008
    the Initial Developer. All Rights Reserved.
    
    Contributor(s):
    
    Peter Beverloo
    Marcus Bauer
    
    Special Thanks to:
    
    SA:MP Team past, present and future
Version:
    0.1.3
Changelog:
    02/11/08:
        First version
Functions:
    Public:
        -
    Core:
        -
    Stock:
        -
    Static:
        -
    Inline:
        -
    API:
        -
Callbacks:
    -
Definitions:
    -
Enums:
    -
Macros:
    -
Tags:
    -
Variables:
    Global:
        -
    Static:
        -
Commands:
    -
Compile options:
    -
Operators:
    -
-*----------------------------------------------------------------------------*/
 
#if defined _YSF_included
    #endinput
#endif
#define _YSF_included
 
/*----------------------------------------------------------------------------*-
                    =============
                    YSF Libraries
                    =============
-*----------------------------------------------------------------------------*/
 
// Generic functions
native SetPlayerGravity(playerid, Float:gravity);
native AddServerRule(name[], value[]);
native SetServerRule(name[], value[]);
native SetPlayerSkinForPlayer(skinplayer, forplayer, skin);
native GetPlayerSkinForPlayer(skinplayer, forplayer);
 
// File functions
native ffind(const pattern[], filename[], len, &idx);
native frename(const oldname[], const newname[]);
 
// Directory functions
native dfind(const pattern[], filename[], len, &idx);
native dcreate(const name[]);
native drename(const oldname[], const newname[]);
i have the YSF.dll In my plugins folder too : / anyone help?
Reply
#2

you need the .inc file
Reply
#3

i said i have the include i saved the text as YSF.inc
Reply
#4

Quote:
Originally Posted by [mad
MLK (sampx-hosting.co.cc) ]
i said i have the include i saved the text as YSF.inc
Works for me, Strange?
Reply
#5

You have to put the YSF.inc in the Pawno/include folder.
Check if you put it in the right location.

or maybe you saved the text as something.txt.inc - you can't see the .txt.
Reply
#6

could someone upload there YSF.inc please
Reply
#7

Quote:
Originally Posted by [mad
MLK (sampx-hosting.co.cc) ]
could someone upload there YSF.inc please
You need a folder in INcludes called
YSF
i dont have time to upload it right now sorry,
Mabe if you add me on msn il send u it
Thanks
Aspire56300
jjmarchman@live.co.uk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)