Sziasztok!
A mai nap nagyon unatkoztam, ezért összedobtam egy ilyen kis interior scriptet
A lényege annyi, hogy ha beírod a parancsot (lent), dialogban válaszhatsz, hogy hova szeretnél eljutni.
CMD: /interiorcon
Letöltés:
http://solidfiles.com/d/886d3f84c3/Képek:
Véleményeket , hibákat +stb kérnék !:D
[pawn]#include <a_samp>
#include <zcmd>
new interiorcon;
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Int. accepter by KutyuS \");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
print(\"\\n--------------------------------------\");
print(\" Interior \");
print(\"--------------------------------------\\n\");
return 1;
}
CMD:interiorcon(playerid, params[])
{
ShowPlayerDialog(playerid, interiorcon, DIALOG_STYLE_LIST, \"{00eeff}Itt beléphetsz egy interiorba! Válassz egyet ezek közül!\",\"{00ff11}Schamal \\n{00ff11}Andromada \\n{00ff11}Ammunation \\n{00ff11}Jefferson Hotel \\n{00ff11}Millie Room \\n{00ff11} Liberty city \\n{00ff11} Battlefield \\n{00ff11} Catigula\'s hidden room \",\"Kilépés\");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == interiorcon)
{
if(response)
{
if(listitem == 0)
{
SetPlayerPos(playerid,1.808619,32.384357,1199.593750);
SetPlayerInterior(playerid,1);
}
if(listitem == 1)
{
SetPlayerPos(playerid,315.745086,984.969299,1958.919067);
SetPlayerInterior(playerid,9);
}
if(listitem == 2)
{
SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
SetPlayerInterior(playerid,1);
}
if(listitem == 3)
{
SetPlayerPos(playerid,2215.454833,-1147.475585,1025.796875);
SetPlayerInterior(playerid,15);
}
if(listitem == 4)
{
SetPlayerPos(playerid,346.870025,309.259033,999.155700);
SetPlayerInterior(playerid,6);
}
if(listitem == 5)
{
SetPlayerPos(playerid,-729.276000,503.086944,1371.971801);
SetPlayerInterior(playerid,1);
}
if(listitem == 6)
{
SetPlayerPos(playerid,-975.975708,1060.983032,1345.671875);
SetPlayerInterior(playerid,10);
}
if(listitem == 7)
{
SetPlayerPos(playerid,2131.507812,1600.818481,1008.359375);
SetPlayerInterior(playerid,1);
}
}
}
return 0;
}
[/pawn]