SA-MP Forums Problema teleport
 New Account Members List Search Today's Posts Mark Forums Read

 10/08/2012, 03:24 PM #1 Users Huge Clucker   Join Date: Jul 2011 Posts: 269 Reputation: -1 Problema teleport Salut am incercat si eu de ex cand esti in pozitia X sa te teleporteze in pozitia Y . am incercat asa : Code: ```forward Teleports(playerid); forward IsPlayerPoint(Float:radi, playerid, Float:x, Float:y, Float:z, Float:curx, Float:cury, Float:curz) ; public IsPlayerPoint(Float:radi, playerid, Float:x, Float:y, Float:z, Float:curx, Float:cury, Float:curz) { if(IsPlayerConnected(playerid)) { new Float:tempposx, Float:tempposy, Float:tempposz; tempposx = (curx -x); tempposy = (cury -y); tempposz = (curz -z); if (((tempposx < radi ) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) return 1; } return 0; } public Teleports ( playerid ) { new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz) ; if(IsPlayerPoint(1,playerid,919.4679,-1251.9409,16.2109,cx,cy,cz)) { //Reporter SetPlayerPos(playerid, 246.783996,63.900199,1003.640625); GameTextForPlayer(playerid, "~w~Fortele Nato",5000,1); SetPlayerInterior(playerid,6) ; SetPlayerFacingAngle(playerid, 0) ; } else if(IsPlayerPoint(1,playerid,246.783996,63.900199,1003.640625,cx,cy,cz)) { //Reporter SetPlayerPos(playerid, 919.4679,-1251.9409,16.2109) ; GameTextForPlayer(playerid, "~w~Los Santos",5000,1); SetPlayerInterior(playerid,0) ; SetPlayerFacingAngle(playerid,0); } return 1; }``` si nu ma teleporteaza , cum pot face altfel> __________________
 10/08/2012, 03:30 PM #2 Cavetchi Little Clucker   Join Date: Nov 2011 Posts: 49 Reputation: 0 Re: Problema teleport Adica fara sa tastezi vreo comanda ? Adica ca si intrarea la PD....Daca nu te descurci da un reply #EDIT: Vad ca nu raspunzi Code: ```//---------------------------------DA UN NUME-------------------------- else if (PlayerToPointStripped(1, playerid,AICI COORDONATELE, cx,cy,cz)) { SetPlayerPos(playerid, AICI COORDONATELE); GameTextForPlayer(playerid, "~w~Los Santos",5000,1); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 1); PlayerInfo[playerid][pInt] = 0; }``` Restul cred ca stii.. PS: Nu uita sa schimbi interiorul daca e nevoie.. Last edited by Cavetchi; 10/08/2012 at 08:31 PM.
 11/08/2012, 05:29 AM #3 Users Huge Clucker   Join Date: Jul 2011 Posts: 269 Reputation: -1 AW: Problema teleport playerpointstripped mi se pare ca este din gf ... si nu merge __________________
 11/08/2012, 06:48 AM #4 Cavetchi Little Clucker   Join Date: Nov 2011 Posts: 49 Reputation: 0 Re: Problema teleport Nu este din GF, mie imi merge perfect, poate ai gresit undeva...dami coordonatele ca til fac eu
 11/08/2012, 06:59 AM #5 Users Huge Clucker   Join Date: Jul 2011 Posts: 269 Reputation: -1 AW: Problema teleport Am rezolvat ! __________________

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post GameStar. Includes 14 27/08/2011 07:48 PM bogdan123 Romānă/Romanian 2 04/04/2011 01:04 PM elvago Espańol/Spanish 6 04/10/2010 11:02 PM venezuela sa-mp Espańol/Spanish 5 27/12/2009 08:01 PM AiVAMAN Includes 2 05/09/2009 02:41 PM

All times are GMT. The time now is 10:53 AM.

 -- (EN) English -- (ES) Espańol -- (RU) Русски Contact Us - SA-MP - Archive - Top