Instal plugins problem (YSF)
#1

Ok, any of my plugins doesnt work, idk why, maybe failed at instaling it... whatever, i gonna show you what i did and you correct me if i did something wrong. Its YSF plugin ( i just need SetPlayerGravity(); cmd) https://sampforum.blast.hk/showthread.php?tid=177059 <----- link of Plugin
------------------------------------------------------------------------------------------------------------
In my server.cfg file i have this:
Код:
echo Executing Server Config...
lanmode 0
password ####
rcon_password ####
maxplayers 35
port 7777
hostname #####
gamemode0 ####
filterscripts #### #### ####
announce 1
query 1
weburl 
maxnpc 5                   
plugins YSF                    // I added this
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
------------------------------------------------------------------------------------------------------------
I copied YSF.dll to plugins folder and YSF.inc to pawno/include folder. Gamemodes are just to test. Folder YSF 0.3 i didnt copied anywhere, they said i dont need to. (IDK though)
------------------------------------------------------------------------------------------------------------
In my gamemode at top i have:
Код:
#include YSF
Like it has to be. ( i think)
------------------------------------------------------------------------------------------------------------
But when i use cmd in my gamemode like, SetPlayerGravity(); (cmd from YSF plugin)
when i start server i get "Runtime Error 19 ''File or function not found".
Reply
#2

When starting server it says:
Код:
Server plugins
-------------
Loading: YSF
Failed.
It just simply fails.
Reply
#3

this one 0.3b R2
Reply
#4

I downloaded windows samp server again and instaled just the YSF plugin, still didnt work.
I realized in plugins folder I have only YSF.dll but no YSF.so file, like at other plugins. Should be like that or file is missing?
Reply
#5

I know, i got Windows Vista.
Reply
#6

bump -.-
Reply
#7

bump
Reply
#8

.so plugins are only for Linux. For windows, use .dll
Reply
#9

ok i used .dll now..put "ysf.inc" in /pawno/include included YSF in gamemode..
but when i use: SetPlayerGravity in game mode.. i get no error when i compile the script, but when i start the server i get this error



and when i delete the SetPlayerGravity script, this error doesnt apprear... why? O.o
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)