24.05.2012, 16:30
Just scripted one for you :P +rep me
pawn Код:
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#define COLOR_WHITE 0xFFFFFFAA
public OnFilterScriptInit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
CMD:gotoco(playerid, params[])
{
new Float: pos[3], int;
if(sscanf(params, "fffd", pos[0], pos[1], pos[2], int)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotoco [x coordinate] [y coordinate] [z coordinate] [interior]");
SendClientMessage(playerid, COLOR_WHITE, "You have been teleported to the coordinates specified.");
SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
SetPlayerInterior(playerid, int);
return 1;
}