/gotointerior HELP
#1

I need to fix that irc include but don't know how...
Reply
#2

The problem is: The include "irc" is missing.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=98803
Reply
#4

Quote:
Originally Posted by TheGoldenMonkey
Посмотреть сообщение
I need to fix that irc include but don't know how...
put that where you put your includes:

#include irc
Reply
#5

Guys can you give me normal command for /gotointerior ?
Reply
#6

this gotointerior command isn't working
Reply
#7

I will make it.
Reply
#8

Код:
CMD:gotointerior(playerid, params[])
{
   	new interiorid, Float:X, Float:Y ,Float:Z;
   	if(sscanf(params,"ufff",  interiorid, X, Y, Z)) return SendClientMessage(playerid,0xFFF356AA, "Usage: /gotointerior [INTERIORID] [X] [Y] [Z]");
   	SetPlayerPos(playerid, X, Y, Z);
	SetPlayerInterior(playerid, interiorid);
	return 1;
}
Requirements: ZCMD + SSCANF.
Reply
#9

Take it, is not hard to do .........
Код:
CMD:gotopoint(playerid, params[])
{
	new Float:x, Float:y, Float:z,intID;
	if(sscanf(params, "fffd",x,y,z,intID)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotopoint [Pos X] [Pos Y] [Pos Z] [interior id]");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat sa folosesti aceasta comanda.");
	SetPlayerInterior(playerid, intID);
	SetPlayerPos(playerid, x,y,z);
	SendClientMessage(playerid, COLOR_GREEN, "Ai fost teleportat cu succes !");
	return 1;
}
Reply
#10

Quote:
Originally Posted by TheGoldenMonkey
Посмотреть сообщение
this gotointerior command isn't working
I think it's not working because you have commas after the coordinates. Try removing those. It should work as intended.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)