Elkészült remélem jó lesz én teszteltem nálam mûködött!
( A /hazam parancsot direkt nem írtam bele hogy csak te tudj róla és /hazam nem /házam
)
Script
[pawn]/////////By Toorop///////////
#include <a_samp>
#include <zcmd>
#define FILTERSCRIPT
#define COLOR_LIGHTBLUED 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
/// /teles ///
command(teles, playerid, params[])
{
{
SendClientMessage(playerid, 0x9ACD32AA,\"======================================\");
SendClientMessage(playerid,0x33CCFFAA,\" TELEPORTOK\");
SendClientMessage(playerid,0x33CCFFAA,\" /lvair - /lv - /ls - /lsair\");
SendClientMessage(playerid,0x33CCFFAA,\" /tower - /sf - /sfair - /chilliad\");
SendClientMessage(playerid, 0x9ACD32AA, \"=======================================\");
}
return 1;
}
/// /hazam ///
command(hazam, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,-2467.2397,2239.5198,4.7909);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTGREEN,\"Üdvözöllek A Házadnál\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2467.2397,2239.5198,4.7909);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTGREEN,\"Üdvözöllek A Házadnál\");
}
return 1;
}
/// /lvair ///
command(lvair, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,1324.2866,1269.1885,10.8203);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LV-Airon\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),1324.2866,1269.1885,10.8203);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LV-Airon\");
}
return 1;
}
/// /lv ////
command(lv, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,2029.5264,1344.1198,10.8203);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LV-ben\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),2029.5264,1344.1198,10.8203);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LV-ben\");
}
return 1;
}
//// /lsair ///
command(lsair, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,1648.8457,-2430.3054,13.5547);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LS-Airon\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),1648.8457,-2430.3054,13.5547);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LS-Airon\");
}
return 1;
}
/// /tower ////
command(tower, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,1539.2975,-1351.4813,329.4641);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek Towernál\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),1539.2975,-1351.4813,329.4641);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek Towernál\");
}
return 1;
}
/// /ls ///
command(ls, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,1504.3158,-1637.3357,14.0469);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LS-ben\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),1504.3158,-1637.3357,14.0469);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek LS-ben\");
}
return 1;
}
/// /sfair ///
command(sfair, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,-1250.4430,-2.5162,14.1484);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek SF-Airon\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1250.4430,-2.5162,14.1484);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek SF-Airon\");
}
return 1;
}
/// /sf ///
command(sf, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,-1948.0162,263.0266,35.4688);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek SF-ben\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1948.0162,263.0266,35.4688);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek SF-ben\");
}
return 1;
}
/// /chilliad ///
command(chilliad, playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid,-2351.4917,-1626.6062,483.6747);
SetPlayerFacingAngle(playerid,126.5343);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek Chilliadon\");
}
else
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2351.4917,-1626.6062,483.6747);
SetVehicleZAngle(GetPlayerVehicleID(playerid),126.5343);
SetPlayerInterior(playerid,0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SendClientMessage(playerid,COLOR_LIGHTBLUED,\"Üdvözöllek Chilliadon\");
}
return 1;
}[/pawn]
[mod][ pawn ] [ /pawn ] Tegek használata KÖTELEZÕ! [/mod]