[POMOC]Teleport

Započeo Acke, Septembar 10, 2011, 02:20:46 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pa ovako napravio sam teleport
{
		SetPlayerPos(playerid,29,2220.9929,1839.3375,10.8203,90.6267,0,0,0,0,0,0);
		SetPlayerFacingAngle(playerid,221.976);
	}
	SendClientMessage(playerid,COLOR_BLUE,"You have been Teleported to Las Venturas.");
	new string3[128];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
  	format(string3, sizeof(string3), "[TELEPORT]"#CWHITE"%s"#CGREEN"(%d) "#CPINK"has gone to "#CRED"LV."#CGREEN" [/lv]", name,playerid);
  	SendClientMessageToAll(yellow, string3);
  	SaveToFile("Teleports",string3);
	return 1;[font=Verdana]I kada to uradim porta me negde u nebo a sve ostalo lepo radi... MOLIM VAS POMOC... AKO TREBA SLIKA UBACICU... a evo koda od saveposition[/font]AddPlayerClass(29,2220.9929,1839.3375,10.8203,90.6267,0,0,0,0,0,0); //
Rescpect for:Gagi,Denis_Lapi,C++

SetPlayerInterior(playerid, 0);
ako to neradi jos
onda si koordinate pogresno upisao

Ove su mi kordinate za AddPlayerClass a kako za setplayerposition(ili kako vec) da nadjem kordinate(nemojte da se smejete ovo mi je 3 dan sa pawnom)
Rescpect for:Gagi,Denis_Lapi,C++

if(strcmp(cmd, "/gotolv", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pGameMaster] >= 3)
			{
				if (GetPlayerState(playerid) == 2)
				{
					new tmpcar = GetPlayerVehicleID(playerid);
					SetVehiclePos(tmpcar, 1699.2, 1435.1, 10.7);tvoje koordinate
					TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
				}
				else
				{
					SetPlayerPos(playerid, 1699.2,1435.1, 10.7);//iste koordinate ko i gore
				}
				SendClientMessage(playerid, COLOR_GRAD1, "   Vi ste se teleportovali");
				SetPlayerInterior(playerid,0);
				PlayerInfo[playerid][pInt] = 0;
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   Niste autorizovani da bi ste Koristiteli ovu komandu!");
			}
		}
		return 1;

	}


ewo to komanda /gotolv vako mozes i komandu /gotols i /gotosf samo da mjenjas koordinate a to radis tako sta odes u mod nades pogodno mjest i onda /save npr /save LV I SNIMICE TI SE NES OVAKO


::AddPlayerClass(29,2524.0674,-1310.3490,1031.4219,43.6002,0,0,0,0,0,0); //

OVO CRVENO KOPIRAS SAMO DRUGi brojevi ce biti UBACUJES GOrE GDJE SAM TI NAPISAO I TO JE TO..

snimljene koordinate cs nac tako sto odes u mt documents sa user files tu negdje zzz nadam se da sam pomogo..
Poslednja Izmena: Septembar 10, 2011, 12:35:15 POSLE PODNE od JONY

Mikic95