Error any1? - 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: Error any1? (
/showthread.php?tid=309196)
Error any1? -
falling - 06.01.2012
thi is what my server.bat tells to me
Код:
Filterscript 'admin.amx' unloaded.
AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
Filterscript 'admin.amx' loaded.
Number of vehicle models: 0
and this is mine line for that allowadminteleport
Код:
public OnFilterScriptInit()
{
AntiDeAMX();
ShowNameTags(1);
SetWorldTime(15);
UsePlayerPedAnims();
ShowPlayerMarkers(0);
AllowAdminTeleport(0); DisableInteriorEnterExits();
SetGameModeText("Team-DeatchMatch");
SetNameTagDrawDistance(30.0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
tima[i] = SetTimerEx("Faus",750,1,"d",i);
____[i] = TextDrawCreate(300,300,"-");
TextDrawAlignment(____[i],0);
TextDrawBackgroundColor(____[i],0x000000ff);
TextDrawFont(____[i],2);
TextDrawLetterSize(____[i],0.3,1.100000);
TextDrawColor(____[i],0xffffffff);
TextDrawSetOutline(____[i],1);
TextDrawSetProportional(____[i],1);
TextDrawSetShadow(____[i],1);
}
}
Re: Error any1? -
Jakku - 06.01.2012
AllowAdminTeleport is deprecated as it says. You should use
this instead.
Re: Error any1? -
mineralo - 06.01.2012
for you not get errors or bugs better inlcude that in your server (gamemode) not in filterscript
maybe it solve your problem