AJUDA - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: AJUDA (
/showthread.php?tid=537519)
AJUDA -
kayojonata - 16.09.2014
QUANDO EU PASSEI AGM PARA O HOST DEU ESSE ERRO I NГO SEI COMO ARRUMAR ALGUEM PODE ME AJUDAR?
AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
AllowAdminTeleport (): funзгo estб obsoleta. Por favor, veja OnPlayerClickMap ()
Re: AJUDA -
SilentSoul - 16.09.2014
I don't understand your question, i only understand this part
AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap() you should remove this code because its outdated and add this anywhere in your script.
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
  if(IsPlayerAdmin(playerid))
  {
    SetPlayerPosFindZ(playerid, fX, fY, fZ);
  }
  return 1;
}