SA-MP Forums Archive
S0biet teles! - 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: S0biet teles! (/showthread.php?tid=612832)



S0biet teles! - vikoo - 22.07.2016

Hello, i used S0biet to can make a tele cmds to liberty city and brothel and iam do /save and take pos and add it in tele cmd then when i use it in game iam tele to air not in tele place

Код:
AddPlayerClass(299,-733.5562,499.5130,1373.7446,156.7617,0,0,0,0,0,0); //  liberty city
cmd:
Код:
CMD:liberty(playerid,params[]) {
	if(PlayerInfo[playerid][Jailed] == 1) return SendMessageToPlayer(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
	TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
	tseconds[playerid] = 6;
	format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
	if(PlayerInfo[playerid][Level] == 0) SendMessageToPlayer(playerid,COLOR_LIGHTBLUE, tstring);
	vCount[playerid] = 1;
	Tx[playerid] = -733.5562;
	Ty[playerid] = 499.5130;
	Tz[playerid] = 1373.7446;
	Ti[playerid] = 0;
	ResetPlayerWeapons(playerid);
	SetPlayerHealth(playerid,100);
	GivePlayerWeapon(playerid,30,2000);
	GivePlayerWeapon(playerid,29,2000);
	new string[128];
	new bdname[MAX_PLAYER_NAME];
	format(telestring,43,"~w~] Liberty City ]");
	GetPlayerName(playerid, bdname, sizeof(bdname));
	format(string, sizeof(string), "[TELE]:%s Has Just Teleported To Liberty City /liberty", bdname);
    SendClientMessageToAll(lightblue, string);
	return 1;}



Re: S0biet teles! - SickAttack - 22.07.2016

Use SetPlayerPos and set your interior to 1.


Re: S0biet teles! - vikoo - 22.07.2016

Quote:

SetPlayerPos

how to use it?


Re: S0biet teles! - Luicy. - 22.07.2016

Note that liberty city got dff missing, there's pretty much only txd(textures)


Re: S0biet teles! - vikoo - 22.07.2016

thank you all for helping