/gotocoords - 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: /gotocoords (
/showthread.php?tid=646870)
/gotocoords -
Caster - 25.12.2017
So, I need help with making /gotocoords command, /gotocoords [INT] [X] [Y] [Z] so I can teleport to my maps in game. I tried different /gotocoords Filterscripts and I complied them successfully and added then in server.cfg, but when I go IG and write /gotocoords or whatever the command is, it says "unkown command". I am using host server [offline] with rivershell gamemode, can someone give me any filterscript or any gamemode that teleport me to my map?, I have my map codes [retextured] so I need to teleport to it IG, any help?
Re: /gotocoords -
MEW273 - 25.12.2017
Can you please show us the code of your /gotocoords command.
Re: /gotocoords -
rfr - 25.12.2017
PHP код:
#include <a_samp>
#include <izcmd>
#include <sscanf2>
CMD:tele(playerid, params[])
{
new Float:x, Float:y, Float:z;
if(sscanf(params, "fff", x, y, z))return SendClientMessage(playerid, 0xFF0000FF, "Usage: /tele [X Pos] [Y Pos] [Z Pos]");
SetPlayerPos(playerid, x, y, z);
return 1;
}