Another ITD Problem - 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: Another ITD Problem (
/showthread.php?tid=600242)
Another ITD Problem -
LaLy17 - 05.02.2016
Hi again guys. I know, i'm boring cauze i always posted the problem with cursour on ipleomax.
So, i decided to take a another ITDE edit by the russians - This edit work in a friend computer.
But, normal, at me. I got this:
http://imgur.com/jfFkp8s
There are the lines:
Код HTML:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/itd", true, 4))
{
if(ProjectEditor == playerid)
{
if(strlen(cmdtext) >= 6)
{
if(!strcmp(cmdtext[5], "top", true))
{
OffsetZ = 0.0;
if(MenuShown && !MenuHidden) ShowEditor();
return Send(playerid, -1, #ITD_I"Menu location set to: TOP");
} else
if(!strcmp(cmdtext[5], "bottom", true))
{
OffsetZ = 415.0;
if(MenuShown && !MenuHidden) ShowEditor();
return Send(playerid, -1, #ITD_I"Menu location set to: BOTTOM");
} else
return Send(playerid, -1, "Usage: /itd (Top / Bottom / Center)");
}
return Send(playerid, -1, #ITD_I"Press ESC in main menu to go back or exit editor.");
}
GetPlayerIp(playerid, String_Normal, 16);
if(strcmp(String_Normal, "*******", false))
return Send(playerid, -1, #ITD_E"samp-server.exe is not running in this computer! Make sure the server is at localhost, not remote.");
if(ProjectEditor != playerid && ProjectEditor != INVALID_PLAYER_ID)
return Send(playerid, -1, #ITD_E"Another host is already using the editor.");
Send(playerid, -1, "Welcome to {62E300}iPLEOMAX's Textdraw Editor{FFFFFF}. Pick an option to begin!");
ProjectEditor = playerid;
ShowEditor();
return true;
}
return false;
}
Re: Another ITD Problem -
TwinkiDaBoss - 05.02.2016
Show us your samp log.
Re: Another ITD Problem -
Sascha - 05.02.2016
did you even load that code onto the server?
(don't want to be insulting, but sometimes people upload the wrong scripts or forget to activate them)
Re: Another ITD Problem -
TopShooter - 05.02.2016
Its plugins problem, Ofcourse you missed one plugin or a include version doesn't meet the plugin version
Re: Another ITD Problem -
LaLy17 - 06.02.2016
I load the code in my server, lol...
I have all plugins there to work i think. SSCANF2 and ITD.dll
Код HTML:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[20:07:23]
[20:07:23] Server Plugins
[20:07:23] --------------
[20:07:23] Loading plugin: sscanf
[20:07:23]
[20:07:23] ===============================
[20:07:23] sscanf plugin loaded.
[20:07:23] © 2009 Alex "******" Cole
[20:07:23] 0.3d-R2 500 Players "dnee"
[20:07:23] ===============================
[20:07:23] Loaded.
[20:07:23] Loading plugin: iTD
[20:07:23]
* iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)
[20:07:23] Loaded.
[20:07:23] Loaded 2 plugins.
[20:07:23]
[20:07:23] Filterscripts
[20:07:23] ---------------
[20:07:23] Loading filterscript 'iTDe.amx'...
[20:07:23] Loaded 1 filterscripts.
[20:07:23]
---------------------------------------
[20:07:23] Running Grand Larceny - by the SA-MP team
[20:07:23] ---------------------------------------
[20:07:23] Number of vehicle models: 0
[20:07:56] [connection] 25.89.143.38:52927 requests connection cookie.
[20:07:57] [connection] incoming connection: 25.89.143.38:52927 id: 0
[20:07:58] [join] Eclipsis has joined the server (0:25.89.143.38)
[20:16:17] [part] Eclipsis has left the server (0:1)