Szerző Téma: Dialogos Teleport  (Megtekintve 2963 alkalommal)

Dialogos Teleport
« Válasz #15 Dátum: 2012. április 15. - 16:24:47 »
0 Show voters
Idézetet írta: kadaradam date=1334494579\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20212\" data-ipsquote-contentclass=\"forums_Topic
Rakd be elsõ FilterScriptnek,vagy rakd be a modba.
 
Próbáltam de sehogyse megy  :@
Nem lehet az a baj, hogy a régi teleportok benne vannak?

Nem elérhető $uRí

  • 226
    • Profil megtekintése
Dialogos Teleport
« Válasz #16 Dátum: 2012. április 15. - 16:28:36 »
0 Show voters
Az is dialogos?

Dialogos Teleport
« Válasz #17 Dátum: 2012. április 15. - 16:33:35 »
0 Show voters
Idézetet írta: $uRí date=1334500116\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20212\" data-ipsquote-contentclass=\"forums_Topic
Az is dialogos?
 
nem az olyan parancsos, de nem hiszem az a baj, evel a dialogos dologgal annyi a baj, hogy bejön a dialog ablak meg minden csak nem teleportál el

Nem elérhető scripter01

  • 1035
  • Ex Moderálisan Globális
    • Profil megtekintése
Dialogos Teleport
« Válasz #18 Dátum: 2012. április 15. - 17:05:48 »
0 Show voters
Nos, Falpar13, itt van egy Dialogos Teleport Script FS!
 

#include <a_samp>
public OnFilterScriptInit()
{
print(\"Dialogos Teleport Script Betöltése...\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0xFF000000,\"Dialogos Teleport Script By: scripter01\");
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/teleport\", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF000000,\"Teleportok:\");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,\"Teleportok:\",\"Los Santos\\n San Fierro\\n Las Venturas\\nChilliad Hegy\\n BlueBerry\\n SzereloHQ\",\"Választ\", \"\");//Dialog ID: 1
return 1;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid==1)
{
if(response)
{
if(listitem==0)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál Los Santos-ba\");
SetPlayerPos(playerid,2779.7939,-2010.4519,13.5547);
return 1;
}
if(listitem==1)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál San Fierro-ba\");
SetPlayerPos(playerid,-1983.7593,139.6493,27.6875);
return 1;
}
if(listitem==2)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál Las Venturas-ba\");
SetPlayerPos(playerid,2036.5011,1343.8400,10.8203);
return 1;
}
if(listitem==3)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál Chilliad Hegyre!\");
SetPlayerPos(playerid,-2321.9036,-1654.8688,483.7031);
return 1;
}
if(listitem==4)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál BlueBerry-be\");
SetPlayerPos(playerid,153.0447,-81.2592,1.5781);
}
if(listitem==5)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál a Szerelo HQ-ra!\");
SetPlayerPos(playerid,-2078.9827,1341.5369,7.1239);
return 1;
}
}
}
return 1;
}

 
Használd egészséggel! Üdv, scripter01.

Dialogos Teleport
« Válasz #19 Dátum: 2012. április 15. - 18:54:02 »
0 Show voters
Idézetet írta: scripter01 date=1334502348\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20212\" data-ipsquote-contentclass=\"forums_Topic
Nos, Falpar13, itt van egy Dialogos Teleport Script FS!
 

#include <a_samp>
public OnFilterScriptInit()
{
print(\"Dialogos Teleport Script Betöltése...\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0xFF000000,\"Dialogos Teleport Script By: scripter01\");
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/teleport\", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF000000,\"Teleportok:\");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,\"Teleportok:\",\"Los Santos\\n San Fierro\\n Las Venturas\\nChilliad Hegy\\n BlueBerry\\n SzereloHQ\",\"Választ\", \"\");//Dialog ID: 1
return 1;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid==1)
{
if(response)
{
if(listitem==0)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál Los Santos-ba\");
SetPlayerPos(playerid,2779.7939,-2010.4519,13.5547);
return 1;
}
if(listitem==1)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál San Fierro-ba\");
SetPlayerPos(playerid,-1983.7593,139.6493,27.6875);
return 1;
}
if(listitem==2)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál Las Venturas-ba\");
SetPlayerPos(playerid,2036.5011,1343.8400,10.8203);
return 1;
}
if(listitem==3)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál Chilliad Hegyre!\");
SetPlayerPos(playerid,-2321.9036,-1654.8688,483.7031);
return 1;
}
if(listitem==4)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál BlueBerry-be\");
SetPlayerPos(playerid,153.0447,-81.2592,1.5781);
}
if(listitem==5)
{
SendClientMessage(playerid,0xFF000000,\"Elteleportáltál a Szerelo HQ-ra!\");
SetPlayerPos(playerid,-2078.9827,1341.5369,7.1239);
return 1;
}
}
}
return 1;
}

 
Használd egészséggel! Üdv, scripter01.
 
köszi, de evvel is ugyan az van, bejön a dialog meg minden de pl ha kiválasztom hogy san fierroba telportáljon nem történik semmi

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal