Server Problem
#1

Server log

Код:
SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[17:42:38] filterscripts = ""  (string)
[17:42:38] 
[17:42:38] Server Plugins
[17:42:38] --------------
[17:42:38]  Loading plugin: mysql.dll
[17:42:38]  SA:MP MySQL Plugin 1.2.1 Loaded.
[17:42:38]   Loaded.
[17:42:38] MySQL: Query thread running. Thread safe: Yes.
[17:42:38]  Loading plugin: streamer.dll
[17:42:38] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:42:38]   Loaded.
[17:42:38]  Loading plugin: sscanf.dll
[17:42:38] 

[17:42:38]  ===============================

[17:42:38]       sscanf plugin loaded.     

[17:42:38]    © 2009 Alex "******" Cole

[17:42:38]    0.3d-R2 500 Players "dnee"

[17:42:38]  ===============================

[17:42:38]   Loaded.
[17:42:38]  Loading plugin: audio.dll
[17:42:38] 

*** Audio Plugin v0.5 by Incognito loaded ***

[17:42:38]   Loaded.
[17:42:38]  Loading plugin: nativechecker.dll
[17:42:38]   Loaded.
[17:42:38]  Loaded 5 plugins.

[17:42:38] 
[17:42:38] Filterscripts
[17:42:38] ---------------
[17:42:38]   Loaded 0 filterscripts.

[17:42:38]    Error: Function not registered: 'CancelSelectTextDraw'
[17:42:38] Script[gamemodes/RGRP.amx]: Run time error 19: "File or function is not found"
[17:42:38] Number of vehicle models: 0
Reply
#2

Read this for the CancelSelectTextDraw: https://sampforum.blast.hk/showthread.php?tid=328257
Reply
#3

Still same i will add the code there

OnGameModeInit
pawn Код:
//Welcome message by N0FeaR
    TextdrawConnect0 = TextDrawCreate(0.000000, 0.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect0, 255);
    TextDrawFont(TextdrawConnect0, 1);
    TextDrawLetterSize(TextdrawConnect0, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect0, -1);
    TextDrawSetOutline(TextdrawConnect0, 0);
    TextDrawSetProportional(TextdrawConnect0, 1);
    TextDrawSetShadow(TextdrawConnect0, 1);
    TextDrawUseBox(TextdrawConnect0, 1);
    TextDrawBoxColor(TextdrawConnect0, 255);
    TextDrawTextSize(TextdrawConnect0, 665.000000, 0.000000);

    TextdrawConnect1 = TextDrawCreate(0.000000, 10.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect1, 255);
    TextDrawFont(TextdrawConnect1, 1);
    TextDrawLetterSize(TextdrawConnect1, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect1, -1);
    TextDrawSetOutline(TextdrawConnect1, 0);
    TextDrawSetProportional(TextdrawConnect1, 1);
    TextDrawSetShadow(TextdrawConnect1, 1);
    TextDrawUseBox(TextdrawConnect1, 1);
    TextDrawBoxColor(TextdrawConnect1, 255);
    TextDrawTextSize(TextdrawConnect1, 665.000000, 0.000000);

    TextdrawConnect2 = TextDrawCreate(0.000000, 20.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect2, 255);
    TextDrawFont(TextdrawConnect2, 1);
    TextDrawLetterSize(TextdrawConnect2, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect2, -1);
    TextDrawSetOutline(TextdrawConnect2, 0);
    TextDrawSetProportional(TextdrawConnect2, 1);
    TextDrawSetShadow(TextdrawConnect2, 1);
    TextDrawUseBox(TextdrawConnect2, 1);
    TextDrawBoxColor(TextdrawConnect2, 255);
    TextDrawTextSize(TextdrawConnect2, 665.000000, 0.000000);

    TextdrawConnect3 = TextDrawCreate(0.000000, 30.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect3, 255);
    TextDrawFont(TextdrawConnect3, 1);
    TextDrawLetterSize(TextdrawConnect3, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect3, -1);
    TextDrawSetOutline(TextdrawConnect3, 0);
    TextDrawSetProportional(TextdrawConnect3, 1);
    TextDrawSetShadow(TextdrawConnect3, 1);
    TextDrawUseBox(TextdrawConnect3, 1);
    TextDrawBoxColor(TextdrawConnect3, 255);
    TextDrawTextSize(TextdrawConnect3, 665.000000, 0.000000);

    TextdrawConnect4 = TextDrawCreate(0.000000, 30.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect4, 255);
    TextDrawFont(TextdrawConnect4, 1);
    TextDrawLetterSize(TextdrawConnect4, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect4, -1);
    TextDrawSetOutline(TextdrawConnect4, 0);
    TextDrawSetProportional(TextdrawConnect4, 1);
    TextDrawSetShadow(TextdrawConnect4, 1);
    TextDrawUseBox(TextdrawConnect4, 1);
    TextDrawBoxColor(TextdrawConnect4, 255);
    TextDrawTextSize(TextdrawConnect4, 665.000000, 0.000000);

    TextdrawConnect5 = TextDrawCreate(0.000000, 451.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect5, 255);
    TextDrawFont(TextdrawConnect5, 1);
    TextDrawLetterSize(TextdrawConnect5, 0.500000, -11.399999);
    TextDrawColor(TextdrawConnect5, -1);
    TextDrawSetOutline(TextdrawConnect5, 0);
    TextDrawSetProportional(TextdrawConnect5, 1);
    TextDrawSetShadow(TextdrawConnect5, 1);
    TextDrawUseBox(TextdrawConnect5, 1);
    TextDrawBoxColor(TextdrawConnect5, 255);
    TextDrawTextSize(TextdrawConnect5, 654.000000, 0.000000);

    TextdrawConnect6 = TextDrawCreate(0.000000, 30.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect6, 255);
    TextDrawFont(TextdrawConnect6, 1);
    TextDrawLetterSize(TextdrawConnect6, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect6, -1);
    TextDrawSetOutline(TextdrawConnect6, 0);
    TextDrawSetProportional(TextdrawConnect6, 1);
    TextDrawSetShadow(TextdrawConnect6, 1);
    TextDrawUseBox(TextdrawConnect6, 1);
    TextDrawBoxColor(TextdrawConnect6, 255);
    TextDrawTextSize(TextdrawConnect6, 665.000000, 0.000000);

    TextdrawConnect7 = TextDrawCreate(0.000000, 38.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect7, 255);
    TextDrawFont(TextdrawConnect7, 1);
    TextDrawLetterSize(TextdrawConnect7, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect7, -1);
    TextDrawSetOutline(TextdrawConnect7, 0);
    TextDrawSetProportional(TextdrawConnect7, 1);
    TextDrawSetShadow(TextdrawConnect7, 1);
    TextDrawUseBox(TextdrawConnect7, 1);
    TextDrawBoxColor(TextdrawConnect7, 255);
    TextDrawTextSize(TextdrawConnect7, 665.000000, 0.000000);

    TextdrawConnect8 = TextDrawCreate(0.000000, 50.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect8, 255);
    TextDrawFont(TextdrawConnect8, 1);
    TextDrawLetterSize(TextdrawConnect8, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect8, -1);
    TextDrawSetOutline(TextdrawConnect8, 0);
    TextDrawSetProportional(TextdrawConnect8, 1);
    TextDrawSetShadow(TextdrawConnect8, 1);
    TextDrawUseBox(TextdrawConnect8, 1);
    TextDrawBoxColor(TextdrawConnect8, 255);
    TextDrawTextSize(TextdrawConnect8, 665.000000, 0.000000);

    TextdrawConnect9 = TextDrawCreate(0.000000, 60.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect9, 255);
    TextDrawFont(TextdrawConnect9, 1);
    TextDrawLetterSize(TextdrawConnect9, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect9, -1);
    TextDrawSetOutline(TextdrawConnect9, 0);
    TextDrawSetProportional(TextdrawConnect9, 1);
    TextDrawSetShadow(TextdrawConnect9, 1);
    TextDrawUseBox(TextdrawConnect9, 1);
    TextDrawBoxColor(TextdrawConnect9, 255);
    TextDrawTextSize(TextdrawConnect9, 665.000000, 0.000000);

    TextdrawConnect10 = TextDrawCreate(0.000000, 48.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect10, 255);
    TextDrawFont(TextdrawConnect10, 1);
    TextDrawLetterSize(TextdrawConnect10, 0.500000, 1.000000);
    TextDrawColor(TextdrawConnect10, -1);
    TextDrawSetOutline(TextdrawConnect10, 0);
    TextDrawSetProportional(TextdrawConnect10, 1);
    TextDrawSetShadow(TextdrawConnect10, 1);
    TextDrawUseBox(TextdrawConnect10, 1);
    TextDrawBoxColor(TextdrawConnect10, 255);
    TextDrawTextSize(TextdrawConnect10, 665.000000, 0.000000);

    TextdrawConnect11 = TextDrawCreate(-3.000000, 39.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect11, 255);
    TextDrawFont(TextdrawConnect11, 1);
    TextDrawLetterSize(TextdrawConnect11, 0.500000, 5.899995);
    TextDrawColor(TextdrawConnect11, -1);
    TextDrawSetOutline(TextdrawConnect11, 0);
    TextDrawSetProportional(TextdrawConnect11, 1);
    TextDrawSetShadow(TextdrawConnect11, 1);
    TextDrawUseBox(TextdrawConnect11, 1);
    TextDrawBoxColor(TextdrawConnect11, 255);
    TextDrawTextSize(TextdrawConnect11, 665.000000, 0.000000);

    TextdrawConnect12 = TextDrawCreate(0.000000, 347.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect12, 255);
    TextDrawFont(TextdrawConnect12, 1);
    TextDrawLetterSize(TextdrawConnect12, 0.500000, 5.899994);
    TextDrawColor(TextdrawConnect12, -1);
    TextDrawSetOutline(TextdrawConnect12, 0);
    TextDrawSetProportional(TextdrawConnect12, 1);
    TextDrawSetShadow(TextdrawConnect12, 1);
    TextDrawUseBox(TextdrawConnect12, 1);
    TextDrawBoxColor(TextdrawConnect12, 255);
    TextDrawTextSize(TextdrawConnect12, 665.000000, 0.000000);

    TextdrawConnect13 = TextDrawCreate(0.000000, 95.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect13, -16776961);
    TextDrawFont(TextdrawConnect13, 1);
    TextDrawLetterSize(TextdrawConnect13, 0.500000, 0.199999);
    TextDrawColor(TextdrawConnect13, 0xF5DEB3AA);
    TextDrawSetOutline(TextdrawConnect13, 0);
    TextDrawSetProportional(TextdrawConnect13, 1);
    TextDrawSetShadow(TextdrawConnect13, 2);
    TextDrawUseBox(TextdrawConnect13, 1);
    TextDrawBoxColor(TextdrawConnect13, 855690495);
    TextDrawTextSize(TextdrawConnect13, 679.000000, 0.000000);

    TextdrawConnect14 = TextDrawCreate(0.000000, 342.000000, "~n~");
    TextDrawBackgroundColor(TextdrawConnect14, -16776961);
    TextDrawFont(TextdrawConnect14, 1);
    TextDrawLetterSize(TextdrawConnect14, 0.500000, 0.199999);
    TextDrawColor(TextdrawConnect14, 0xF5DEB3AA);
    TextDrawSetOutline(TextdrawConnect14, 0);
    TextDrawSetProportional(TextdrawConnect14, 1);
    TextDrawSetShadow(TextdrawConnect14, 2);
    TextDrawUseBox(TextdrawConnect14, 1);
    TextDrawBoxColor(TextdrawConnect14, 855690495);
    TextDrawTextSize(TextdrawConnect14, 679.000000, 0.000000);

    TextdrawConnect15 = TextDrawCreate(271.000000, 9.000000, "R");
    TextDrawBackgroundColor(TextdrawConnect15, 255);
    TextDrawFont(TextdrawConnect15, 0);
    TextDrawLetterSize(TextdrawConnect15, 0.689998, 2.099999);
    TextDrawColor(TextdrawConnect15, 0x33AA33AA);
    TextDrawSetOutline(TextdrawConnect15, 0);
    TextDrawSetProportional(TextdrawConnect15, 1);
    TextDrawSetShadow(TextdrawConnect15, 1);

    TextdrawConnect16 = TextDrawCreate(288.000000, 11.000000, "ebound Roleplay");
    TextDrawBackgroundColor(TextdrawConnect16, 255);
    TextDrawFont(TextdrawConnect16, 0);
    TextDrawLetterSize(TextdrawConnect16, 0.849999, 1.899999);
    TextDrawColor(TextdrawConnect16, -1);
    TextDrawSetOutline(TextdrawConnect16, 0);
    TextDrawSetProportional(TextdrawConnect16, 1);
    TextDrawSetShadow(TextdrawConnect16, 1);
   
    TextdrawConnect17 = TextDrawCreate(341.000000, 10.000000, " RP");
    TextDrawBackgroundColor(TextdrawConnect17, 255);
    TextDrawFont(TextdrawConnect17, 0);
    TextDrawLetterSize(TextdrawConnect17, 0.689998, 2.000000);
    TextDrawColor(TextdrawConnect17, 0x33AA33AA);
    TextDrawSetOutline(TextdrawConnect17, 0);
    TextDrawSetProportional(TextdrawConnect17, 1);
    TextDrawSetShadow(TextdrawConnect17, 1);

    TextdrawConnect18 = TextDrawCreate(287.000000, 28.000000, "  Enjoy your time here");
    TextDrawBackgroundColor(TextdrawConnect18, 255);
    TextDrawFont(TextdrawConnect18, 1);
    TextDrawLetterSize(TextdrawConnect18, 0.250000, 1.000000);
    TextDrawColor(TextdrawConnect18, 0xFF0606FF);
    TextDrawSetOutline(TextdrawConnect18, 0);
    TextDrawSetProportional(TextdrawConnect18, 1);
    TextDrawSetShadow(TextdrawConnect18, 1);

    TextdrawConnect19 = TextDrawCreate(278.000000, 38.000000, "RG:RP v1.0");
    TextDrawBackgroundColor(TextdrawConnect19, 255);
    TextDrawFont(TextdrawConnect19, 2);
    TextDrawLetterSize(TextdrawConnect19, 0.270000, 1.000000);
    TextDrawColor(TextdrawConnect19, 0x33AA33AA);
    TextDrawSetOutline(TextdrawConnect19, 0);
    TextDrawSetProportional(TextdrawConnect19, 1);
    TextDrawSetShadow(TextdrawConnect19, 1);
OnPlayerConnect
pawn Код:
//Welcome massage
    TextDrawShowForPlayer(playerid, TextdrawConnect0);
    TextDrawShowForPlayer(playerid, TextdrawConnect1);
    TextDrawShowForPlayer(playerid, TextdrawConnect2);
    TextDrawShowForPlayer(playerid, TextdrawConnect3);
    TextDrawShowForPlayer(playerid, TextdrawConnect4);
    TextDrawShowForPlayer(playerid, TextdrawConnect5);
    TextDrawShowForPlayer(playerid, TextdrawConnect6);
    TextDrawShowForPlayer(playerid, TextdrawConnect7);
    TextDrawShowForPlayer(playerid, TextdrawConnect8);
    TextDrawShowForPlayer(playerid, TextdrawConnect9);
    TextDrawShowForPlayer(playerid, TextdrawConnect10);
    TextDrawShowForPlayer(playerid, TextdrawConnect11);
    TextDrawShowForPlayer(playerid, TextdrawConnect12);
    TextDrawShowForPlayer(playerid, TextdrawConnect13);
    TextDrawShowForPlayer(playerid, TextdrawConnect14);
    TextDrawShowForPlayer(playerid, TextdrawConnect15);
    TextDrawShowForPlayer(playerid, TextdrawConnect16);
    TextDrawShowForPlayer(playerid, TextdrawConnect17);
    TextDrawShowForPlayer(playerid, TextdrawConnect18);
    TextDrawShowForPlayer(playerid, TextdrawConnect19);
    CancelSelectTextDraw(playerid);
Reply
#4

CancelSelectTextDraw was added in 0.3e. You are using the old 0.3d server.
Reply
#5

Quote:
Originally Posted by Lightning[SV]
Посмотреть сообщение
CancelSelectTextDraw was added in 0.3e. You are using the old 0.3d server.
How then can i fix this?
Reply
#6

Update the server to the 0.3e server package, then the function will be available.

Windows server package: http://files.sa-mp.com/samp03e_svr_win32.zip
Linux server package: http://files.sa-mp.com/samp03esvr.tar.gz

All you need to do is backup the 0.3d scripts and transfer them to the 0.3e client package with their correct destinations.

Or if it's a server hosting service update it on their site, and that's it.
Reply
#7

If you are with a host they will need to update it for you.
Reply
#8

Quote:
Originally Posted by TheDominator
Посмотреть сообщение
Update the server to the 0.3e server package, then the function will be available.

Windows server package: http://files.sa-mp.com/samp03e_svr_win32.zip
Linux server package: http://files.sa-mp.com/samp03esvr.tar.gz

All you need to do is backup the 0.3d scripts and transfer them to the 0.3e client package with their correct destinations.

Or if it's a server hosting service update it on their site, and that's it.
I get same, and i have update to 0.3e.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)