///////////////////////////////////////////////////////////////////////////
}
return 1;
}
new Float:SavePos[4][MAX_PLAYERS];
CMD:s(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
GetVehiclePos(GetPlayerVehicleID(playerid),SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
GetVehicleZAngle(GetPlayerVehicleID(playerid),SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció elmentve!\");
}
else
{
GetPlayerPos(playerid,SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
GetPlayerFacingAngle(playerid,SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció elmentve!\");
}
CMD:l(playerid, params[])
{
if(SavePos[0][playerid] == 0 && !SavePos[1][playerid] && !SavePos[2][playerid]) return SendClientMessage(playerid,0x10F441AA, \"Pozíció betöltése sikertelen!\");
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
SetVehicleZAngle(GetPlayerVehicleID(playerid),SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció betöltve!\");
}
else
{
SetPlayerPos(playerid,SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
SetPlayerFacingAngle(playerid,SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció betöltve!\");
C:\\GTAMINDEN\\szero\\gamemodes\\ldf.pwn(572) : warning 217: loose indentation
C:\\GTAMINDEN\\szero\\gamemodes\\ldf.pwn(591) : warning 203: symbol is never used: \"s\"
new Float:SavePos[4][MAX_PLAYERS];
CMD:s(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
GetVehiclePos(GetPlayerVehicleID(playerid),SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
GetVehicleZAngle(GetPlayerVehicleID(playerid),SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció elmentve!\");
}
else
{
GetPlayerPos(playerid,SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
GetPlayerFacingAngle(playerid,SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció elmentve!\");
}
return 1;
}
CMD:l(playerid, params[])
{
if(SavePos[0][playerid] == 0 && !SavePos[1][playerid] && !SavePos[2][playerid]) return SendClientMessage(playerid,0x10F441AA, \"Pozíció betöltése sikertelen!\");
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
SetVehicleZAngle(GetPlayerVehicleID(playerid),SavePos[3][playerid]);
return SendClientMessage(playerid,0x10F441AA, \"Pozíció betöltve!\");
}
else
{
SetPlayerPos(playerid,SavePos[0][playerid],SavePos[1][playerid],SavePos[2][playerid]);
SetPlayerFacingAngle(playerid,SavePos[3][playerid]);
SendClientMessage(playerid,0x10F441AA, \"Pozíció betöltve!\");
}
return 1;
}