#1

HElo guyz ,,, it's hard to to make a Fs without you guyz i need help.....

like every map has a teleport commands so can someone tell me that commands?
Reply
#2

Which commands? tell us ? sf? ls?
Reply
#3

It would be a pleasure if u give me ls tp code
Reply
#4

I need coordinates.
Reply
#5

and can you tell me what is the problem in this


Code:
    // On top of script:
new Text:JoinLeave;

// In OnGameModeInit
JoinLeave = TextDrawCreate(564, 441, "Welcome to the server");
TextDrawFont(Join/Leave , 1);
TextDrawLetterSize(Join/Leave , 0.4, 2.8);
TextDrawColor(Join/Leave , 0xFF8040FF);
TextDrawSetOutline(Join/Leave , 0);
TextDrawSetProportional(Join/Leave , 1);
TextDrawSetShadow(Join/Leave , 12);
TextDrawUseBox(Join/Leave,1);
TextDrawBoxColor(Join/Leave, );
TextDrawTextSize(Join/Leave, 0, 0);
Reply
#6

cordinates =CreateObject(18785, 1278.45740, 1302.25293, 12.02410, 0.00000, 0.00000, 180.00000);
Reply
#7

Try this

https://sampforum.blast.hk/showthread.php?pid=3239130#pid3239130

https://sampforum.blast.hk/showthread.php?tid=173487
Reply
#8

Do you mean something like /teleport Los santos?
Or /goto (playerid)
What one
Reply
#9

Try this
Code:
CMD:teleport(playerid, params[])
{
	new choice[32];
	if(sscanf(params, "s[32]", choice))
	{
		SendClientMessage(playerid, COLOR_GREY, "USAGE: /teleport[choice]");
		SendClientMessage(playerid, COLOR_GREY, "Choices: LS");
		return 1;
	}
	if(strcmp(choice, "ls", true) == 0)
	{
		if(IsPlayerInAnyVehicle(playerid)) 
		{
			SetPlayerPos(playerid, 1529.58, -1687, 13.37);
			new veh = GetPlayerVehicleID(playerid);
			SetVehiclePos(veh, 1529.58, -1687, 13.37); 
			PutPlayerInVehicle(playerid, veh, 0); 
			SendClientMessage(playerid, -1, "You have been teleported.");
			SetPlayerInterior(playerid, 0);
			SetPlayerVirtualWorld(playerid, 0);
			SetPlayerArmedWeapon(playerid,0);
			pInfo[playerid][pInt] = 0;
		}
		else
		{
			SetPlayerPos(playerid, 1529.58, -1687, 13.37); 
			SendClientMessage(playerid, -1, "You have been teleported.");
			SetPlayerInterior(playerid, 0);
			SetPlayerVirtualWorld(playerid, 0);
			pInfo[playerid][pInt] = 0;
		}	
	}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)