[Ajuda] AllowAdminTeleport.
#1

Toda vez que eu ligo o server na host aparece esse erro e nao consigo ligar ele.

AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap() ?

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[18/04/2014 01:09:54]
[18/04/2014 01:09:54] Server Plugins
[18/04/2014 01:09:54] --------------
[18/04/2014 01:09:54] Loading plugin: sscanf.so
[18/04/2014 01:09:54]

[18/04/2014 01:09:54] ===============================

[18/04/2014 01:09:54] sscanf plugin loaded.

[18/04/2014 01:09:54] (coffee) 2009 Alex "******" Cole

[18/04/2014 01:09:54] ===============================

[18/04/2014 01:09:54] Loaded.
[18/04/2014 01:09:54] Loading plugin: streamer.so
[18/04/2014 01:09:54]

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

[18/04/2014 01:09:54] Loaded.
[18/04/2014 01:09:54] Loaded 2 plugins.

[18/04/2014 01:09:54]
[18/04/2014 01:09:54] Filterscripts
[18/04/2014 01:09:54] ---------------
[18/04/2014 01:09:54] Loading filterscript 'npc_record.amx'...
[18/04/2014 01:09:54] Loading filterscript 'Porta-Malas.amx'...
[18/04/2014 01:09:54] Loading filterscript 'PortaoBallas.amx'...
[18/04/2014 01:09:54] Loading filterscript 'base.amx'...
[18/04/2014 01:09:54]
--Base FS loaded.

[18/04/2014 01:09:54] Loading filterscript 'baseaf.amx'...
[18/04/2014 01:09:54]
--Base FS loaded.

[18/04/2014 01:09:54] Loading filterscript 'camera.amx'...
[18/04/2014 01:09:54] Unable to load filterscript 'camera.amx'.
[18/04/2014 01:09:54] Loading filterscript 'Flash.amx'...
[18/04/2014 01:09:54] Unable to load filterscript 'Flash.amx'.
[18/04/2014 01:09:54] Loading filterscript 'fsdebug.amx'...
[18/04/2014 01:09:54]
*********************
* SA:MP DEBUG 0.2 *
[18/04/2014 01:09:54] * By Simon Campbell *
*********************
[18/04/2014 01:09:54] * Version: 0.5c *
*********************
[18/04/2014 01:09:54] * -- LOADED *
*********************

[18/04/2014 01:09:54] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[18/04/2014 01:09:54] Loading filterscript 'gl_actions.amx'...
[18/04/2014 01:09:54] Loading filterscript 'gl_chatbubble.amx'...
[18/04/2014 01:09:54]
--Speech bubble example loaded.

[18/04/2014 01:09:54] Loading filterscript 'gl_npcs.amx'...
[18/04/2014 01:09:54] Loading filterscript 'gl_property.amx'...
[18/04/2014 01:09:54]
-----------------------------------
[18/04/2014 01:09:54] Grand Larceny Property Filterscript
[18/04/2014 01:09:54] -----------------------------------

[18/04/2014 01:09:54] Loading filterscript 'gl_realtime.amx'...
[18/04/2014 01:09:54] Loaded 11 filterscripts.

[18/04/2014 01:09:54] ----------[CARREGANDO MORRO]-----------------------
[18/04/2014 01:09:54] [MORRO] Dono do Morro = 0
[18/04/2014 01:09:54] -------------------------------------------------
[18/04/2014 01:09:54] Aguardando 5 segundos..
[18/04/2014 01:09:54]
---------------------------------------------------------
[18/04/2014 01:09:54] Server Ligado: [18/04/2014 01:09:54]
[18/04/2014 01:09:54] ---------------------------------------------------------

[18/04/2014 01:09:54] -----------------------------
[18/04/2014 01:09:54] *** GM - BDL RPG Iniciado ***
[18/04/2014 01:09:54] -----------------------------
[18/04/2014 01:09:54] [BPG]: 24 Orgs Carregadas
Reply
#2

Cara isso nгo й um erro, pode-se dizer uma warning, e isso nгo й motivo pra vocк nгo consegui ligar seu servidor, neste log que vocк postou tentou ligar diversos gamemodes e filterscripts diferentes e todos com o mesmo warning, o motivo de nгo consegui ligar deve ser scriptfiles, mas se quer que essa warning suma e so colar isso em seu gamemode.
Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    if (IsPlayerAdmin(playerid))
    {
        SetPlayerPosFindZ(playerid, fX, fY, fZ); 
    }
    return 1;
}
Reply
#3

Quote:
Originally Posted by DiiMeNoR
Посмотреть сообщение
Cara isso nгo й um erro, pode-se dizer uma warning, e isso nгo й motivo pra vocк nгo consegui ligar seu servidor, neste log que vocк postou tentou ligar diversos gamemodes e filterscripts diferentes e todos com o mesmo warning, o motivo de nгo consegui ligar deve ser scriptfiles, mas se quer que essa warning suma e so colar isso em seu gamemode.
Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    if (IsPlayerAdmin(playerid))
    {
        SetPlayerPosFindZ(playerid, fX, fY, fZ); 
    }
    return 1;
}
O estranho e que no meu computador a gm liga, ja na host ela nao liga, a host e linux, e ja troquei os plugins para .so nas configuraзхes.
Reply
#4

Nгo й sу os plugins, em windows й samp-server, announce e samp-npc todos em .exe e Linux nгo conhece arquivos em .exe. Baixe a pasta que jб contem os arquivos certo para linux.
http://files.sa-mp.com/samp03zsvr_R1.tar.gz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)