Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - DeanGriffon

Oldalak: 1 2 3 [4] 5 6 7
46
Segítségkérés / Pawno gond, segítség!
« Dátum: 2014. május 12. - 16:49:38 »
Szia, a warningokat így szedheted ki:
A módod legelejére tedd be ezt:
 
#pragma unused gArmySpawns, gMedicalSpawns, gPoliceSpawns, lastanimid, thisanimid

 

Dupla hozzászólás automatikusan összefûzve. ( 2014. május 12. - 16:54:48 )

És itt az egész a fejes lábas rendszerrel:
 
#pragma unused gArmySpawns, gMedicalSpawns, gPoliceSpawns, lastanimid, thisanimid
//----------------------------------------------------------
//
//  GRAND LARCENY  1.0
//  A freeroam gamemode for SA-MP 0.3
//
//----------------------------------------------------------
#include <a_samp>
#include <core>
#include <float>
#include \"../include/gl_common.inc\"
#include \"../include/gl_spawns.inc\"
#pragma tabsize 0
//----------------------------------------------------------
#define COLOR_WHITE   0xFFFFFFFF
#define COLOR_NORMAL_PLAYER 0xFFBB7777
#define CITY_LOS_SANTOS  0
#define CITY_SAN_FIERRO  1
#define CITY_LAS_VENTURAS  2
#define BODY_PART_LEFT_LEG 7
#define BODY_PART_RIGHT_LEG 8
#define BODY_PART_HEAD 9
#define COLOR_LIGHTRED 0xAA3333FF
new total_vehicles_from_files=0;
// Class selection globals
new gPlayerCitySelection[MAX_PLAYERS];
new gPlayerHasCitySelected[MAX_PLAYERS];
new gPlayerLastCitySelectionTick[MAX_PLAYERS];
new Text:txtClassSelHelper;
new Text:txtLosSantos;
new Text:txtSanFierro;
new Text:txtLasVenturas;
new thisanimid=0;
new lastanimid=0;
//----------------------------------------------------------
main()
{
print(\"\\n---------------------------------------\");
print(\"[HUN]War by HunGamer1000\\n\");
print(\"---------------------------------------\\n\");
}
//----------------------------------------------------------
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,\"~w~[HUN]War\",3000,4);
   SendClientMessage(playerid,COLOR_WHITE,\"Üdvözöllek a {88AA88}[HUN]{FFFFFF}War {88AA88}S{FFFFFF}zerveren!\");
    SendClientMessage(playerid,COLOR_WHITE,\"A szerver tulajdonos: John_Gates (HunGamer1000)\");
    SendClientMessage(playerid,COLOR_WHITE,\"Várható sok mappolás! Érezd jól magad!\");
   // class selection init vars
   gPlayerCitySelection[playerid] = -1;
gPlayerHasCitySelected[playerid] = 0;
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
//SetPlayerColor(playerid,COLOR_NORMAL_PLAYER);
//Kick(playerid);
/*
Removes vending machines
RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1775, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
*/
/*
new ClientVersion[32];
GetPlayerVersion(playerid, ClientVersion, 32);
printf(\"Player %d reports client version: %s\", playerid, ClientVersion);*/
  return 1;
}
//----------------------------------------------------------
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
new randSpawn = 0;
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,0);
  ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, 30000);
if(CITY_LOS_SANTOS == gPlayerCitySelection[playerid]) {
      randSpawn = random(sizeof(gRandomSpawns_LosSantos));
      SetPlayerPos(playerid,
   gRandomSpawns_LosSantos[randSpawn][0],
   gRandomSpawns_LosSantos[randSpawn][1],
   gRandomSpawns_LosSantos[randSpawn][2]);
  SetPlayerFacingAngle(playerid,gRandomSpawns_LosSantos[randSpawn][3]);
}
else if(CITY_SAN_FIERRO == gPlayerCitySelection[playerid]) {
      randSpawn = random(sizeof(gRandomSpawns_SanFierro));
      SetPlayerPos(playerid,
   gRandomSpawns_SanFierro[randSpawn][0],
   gRandomSpawns_SanFierro[randSpawn][1],
   gRandomSpawns_SanFierro[randSpawn][2]);
  SetPlayerFacingAngle(playerid,gRandomSpawns_SanFierro[randSpawn][3]);
}
else if(CITY_LAS_VENTURAS == gPlayerCitySelection[playerid]) {
      randSpawn = random(sizeof(gRandomSpawns_LasVenturas));
      SetPlayerPos(playerid,
   gRandomSpawns_LasVenturas[randSpawn][0],
   gRandomSpawns_LasVenturas[randSpawn][1],
   gRandomSpawns_LasVenturas[randSpawn][2]);
  SetPlayerFacingAngle(playerid,gRandomSpawns_LasVenturas[randSpawn][3]);
}
//SetPlayerColor(playerid,COLOR_NORMAL_PLAYER);
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL_SILENCED,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_DESERT_EAGLE,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_SHOTGUN,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_SAWNOFF_SHOTGUN,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_SPAS12_SHOTGUN,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_MP5,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_AK47,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_M4,1200);
    SetPlayerSkillLevel(playerid,WEAPONSKILL_SNIPERRIFLE,1200);
    GivePlayerWeapon(playerid,WEAPON_COLT45,1000);
    GivePlayerWeapon(playerid,WEAPON_MP5,1000);
    GivePlayerWeapon(playerid,WEAPON_M4,1000);
//GivePlayerWeapon(playerid,WEAPON_MP5,100);
TogglePlayerClock(playerid, 0);
return 1;
}
//----------------------------------------------------------
//TALÁLAT KEZDETE
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
if(bodypart ==  BODY_PART_LEFT_LEG)
{
  if(damagedid != INVALID_PLAYER_ID && IsPlayerConnected(damagedid))
  {
   SendClientMessage(playerid, COLOR_LIGHTRED, \"Bal Lábon lõtted, ezért nem tud mozogni!\");
   TogglePlayerControllable(damagedid, false);
   SetPlayerDrunkLevel(damagedid, 50000);
   ApplyAnimation(damagedid, \"SWEET\", \"Sweet_injuredloop\", 4.0, 1, 0, 0, 0, 0);
   SetPlayerArmedWeapon(damagedid, 0);
   SendClientMessage(damagedid, COLOR_LIGHTRED, \"Bal Lábon lõttek, ezért nem bírsz mozogni!\");
  }
}
else if(bodypart == BODY_PART_RIGHT_LEG)
{
if(damagedid != INVALID_PLAYER_ID && IsPlayerConnected(damagedid))
{
  SendClientMessage(playerid, COLOR_LIGHTRED, \"Jobb lábon lõtted, ezért nem tud mozogni!\");
  TogglePlayerControllable(damagedid, false);
  SetPlayerDrunkLevel(damagedid, 50000);
  ApplyAnimation(damagedid, \"SWEET\", \"Sweet_injuredloop\", 4.0, 1, 0, 0, 0, 0);
  SetPlayerArmedWeapon(damagedid, 0);
  SendClientMessage(damagedid, COLOR_LIGHTRED, \"Jobb Lábon lõttek, ezért nem bírsz mozogni!\");
}
}
else if(bodypart == BODY_PART_HEAD)
{
if(damagedid != INVALID_PLAYER_ID && IsPlayerConnected(damagedid))
{
  SendClientMessage(playerid, COLOR_LIGHTRED, \"Fejenlõtted, ezért súlyosan megsérült és kórházba került!\");
  SendClientMessage(damagedid, COLOR_LIGHTRED, \"Fejenlõttek, ezért súlyosan megsérültél!\");
  SetPlayerHealth(damagedid,0);
}
}
return 1;
}
//TALÁLAT VÉGE
public OnPlayerDeath(playerid, killerid, reason)
{
    new playercash;
    // if they ever return to class selection make them city
// select again first
gPlayerHasCitySelected[playerid] = 0;
if(killerid == INVALID_PLAYER_ID) {
        ResetPlayerMoney(playerid);
} else {
  playercash = GetPlayerMoney(playerid);
  if(playercash > 0)  {
   GivePlayerMoney(killerid, playercash);
   ResetPlayerMoney(playerid);
  }
}
    return 1;
}
//----------------------------------------------------------
ClassSel_SetupCharSelection(playerid)
{
    if(gPlayerCitySelection[playerid] == CITY_LOS_SANTOS) {
  SetPlayerInterior(playerid,11);
  SetPlayerPos(playerid,508.7362,-87.4335,998.9609);
  SetPlayerFacingAngle(playerid,0.0);
     SetPlayerCameraPos(playerid,508.7362,-83.4335,998.9609);
  SetPlayerCameraLookAt(playerid,508.7362,-87.4335,998.9609);
}
else if(gPlayerCitySelection[playerid] == CITY_SAN_FIERRO) {
  SetPlayerInterior(playerid,3);
  SetPlayerPos(playerid,-2673.8381,1399.7424,918.3516);
  SetPlayerFacingAngle(playerid,181.0);
     SetPlayerCameraPos(playerid,-2673.2776,1394.3859,918.3516);
  SetPlayerCameraLookAt(playerid,-2673.8381,1399.7424,918.3516);
}
else if(gPlayerCitySelection[playerid] == CITY_LAS_VENTURAS) {
  SetPlayerInterior(playerid,3);
  SetPlayerPos(playerid,349.0453,193.2271,1014.1797);
  SetPlayerFacingAngle(playerid,286.25);
     SetPlayerCameraPos(playerid,352.9164,194.5702,1014.1875);
  SetPlayerCameraLookAt(playerid,349.0453,193.2271,1014.1797);
}
}
//----------------------------------------------------------
// Used to init textdraws of city names
ClassSel_InitCityNameText(Text:txtInit)
{
   TextDrawUseBox(txtInit, 0);
TextDrawLetterSize(txtInit,1.25,3.0);
TextDrawFont(txtInit, 0);
TextDrawSetShadow(txtInit,0);
    TextDrawSetOutline(txtInit,1);
    TextDrawColor(txtInit,0xEEEEEEFF);
    TextDrawBackgroundColor(txtClassSelHelper,0x000000FF);
}
//----------------------------------------------------------
ClassSel_InitTextDraws()
{
    // Init our observer helper text display
txtLosSantos = TextDrawCreate(10.0, 380.0, \"Los Santos\");
ClassSel_InitCityNameText(txtLosSantos);
txtSanFierro = TextDrawCreate(10.0, 380.0, \"San Fierro\");
ClassSel_InitCityNameText(txtSanFierro);
txtLasVenturas = TextDrawCreate(10.0, 380.0, \"Las Venturas\");
ClassSel_InitCityNameText(txtLasVenturas);
    // Init our observer helper text display
txtClassSelHelper = TextDrawCreate(10.0, 415.0,
    \" Press ~b~~k~~GO_LEFT~ ~w~or ~b~~k~~GO_RIGHT~ ~w~to switch cities.~n~ Press ~r~~k~~PED_FIREWEAPON~ ~w~to select.\");
TextDrawUseBox(txtClassSelHelper, 1);
TextDrawBoxColor(txtClassSelHelper,0x222222BB);
TextDrawLetterSize(txtClassSelHelper,0.3,1.0);
TextDrawTextSize(txtClassSelHelper,400.0,40.0);
TextDrawFont(txtClassSelHelper, 2);
TextDrawSetShadow(txtClassSelHelper,0);
    TextDrawSetOutline(txtClassSelHelper,1);
    TextDrawBackgroundColor(txtClassSelHelper,0x000000FF);
    TextDrawColor(txtClassSelHelper,0xFFFFFFFF);
}
//----------------------------------------------------------
ClassSel_SetupSelectedCity(playerid)
{
if(gPlayerCitySelection[playerid] == -1) {
  gPlayerCitySelection[playerid] = CITY_LOS_SANTOS;
}
if(gPlayerCitySelection[playerid] == CITY_LOS_SANTOS) {
  SetPlayerInterior(playerid,0);
     SetPlayerCameraPos(playerid,1630.6136,-2286.0298,110.0);
  SetPlayerCameraLookAt(playerid,1887.6034,-1682.1442,47.6167);
  TextDrawShowForPlayer(playerid,txtLosSantos);
  TextDrawHideForPlayer(playerid,txtSanFierro);
  TextDrawHideForPlayer(playerid,txtLasVenturas);
}
else if(gPlayerCitySelection[playerid] == CITY_SAN_FIERRO) {
  SetPlayerInterior(playerid,0);
     SetPlayerCameraPos(playerid,-1300.8754,68.0546,129.4823);
  SetPlayerCameraLookAt(playerid,-1817.9412,769.3878,132.6589);
  TextDrawHideForPlayer(playerid,txtLosSantos);
  TextDrawShowForPlayer(playerid,txtSanFierro);
  TextDrawHideForPlayer(playerid,txtLasVenturas);
}
else if(gPlayerCitySelection[playerid] == CITY_LAS_VENTURAS) {
  SetPlayerInterior(playerid,0);
     SetPlayerCameraPos(playerid,1310.6155,1675.9182,110.7390);
  SetPlayerCameraLookAt(playerid,2285.2944,1919.3756,68.2275);
  TextDrawHideForPlayer(playerid,txtLosSantos);
  TextDrawHideForPlayer(playerid,txtSanFierro);
  TextDrawShowForPlayer(playerid,txtLasVenturas);
}
}
//----------------------------------------------------------
ClassSel_SwitchToNextCity(playerid)
{
    gPlayerCitySelection[playerid]++;
if(gPlayerCitySelection[playerid] > CITY_LAS_VENTURAS) {
     gPlayerCitySelection[playerid] = CITY_LOS_SANTOS;
}
PlayerPlaySound(playerid,1052,0.0,0.0,0.0);
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
ClassSel_SetupSelectedCity(playerid);
}
//----------------------------------------------------------
ClassSel_SwitchToPreviousCity(playerid)
{
    gPlayerCitySelection[playerid]--;
if(gPlayerCitySelection[playerid] < CITY_LOS_SANTOS) {
     gPlayerCitySelection[playerid] = CITY_LAS_VENTURAS;
}
PlayerPlaySound(playerid,1053,0.0,0.0,0.0);
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
ClassSel_SetupSelectedCity(playerid);
}
//----------------------------------------------------------
ClassSel_HandleCitySelection(playerid)
{
new Keys,ud,lr;
    GetPlayerKeys(playerid,Keys,ud,lr);
    if(gPlayerCitySelection[playerid] == -1) {
  ClassSel_SwitchToNextCity(playerid);
  return;
}
// only allow new selection every ~500 ms
if( (GetTickCount() - gPlayerLastCitySelectionTick[playerid]) < 500 ) return;
if(Keys & KEY_FIRE) {
     gPlayerHasCitySelected[playerid] = 1;
     TextDrawHideForPlayer(playerid,txtClassSelHelper);
  TextDrawHideForPlayer(playerid,txtLosSantos);
  TextDrawHideForPlayer(playerid,txtSanFierro);
  TextDrawHideForPlayer(playerid,txtLasVenturas);
     TogglePlayerSpectating(playerid,0);
     return;
}
if(lr > 0) {
    ClassSel_SwitchToNextCity(playerid);
}
else if(lr < 0) {
    ClassSel_SwitchToPreviousCity(playerid);
}
}
//----------------------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/segit\", cmdtext, true, 10) == 0)
{
TogglePlayerControllable(playerid, true);
SetPlayerDrunkLevel(playerid, 0);
ClearAnimations(playerid);
SendClientMessage(playerid, 0x33CCFFAA, \"Segítettél magadon!\");
return 1;
}
return 0;
}
//----------------------------------------------------------
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid)) return 1;
if(gPlayerHasCitySelected[playerid]) {
  ClassSel_SetupCharSelection(playerid);
  return 1;
} else {
  if(GetPlayerState(playerid) != PLAYER_STATE_SPECTATING) {
   TogglePlayerSpectating(playerid,1);
      TextDrawShowForPlayer(playerid, txtClassSelHelper);
      gPlayerCitySelection[playerid] = -1;
  }
   }
return 0;
}
//----------------------------------------------------------
public OnGameModeInit()
{
SetGameModeText(\"Grand Larceny\");
ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
ShowNameTags(1);
SetNameTagDrawDistance(40.0);
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
SetWeather(2);
SetWorldTime(11);
UsePlayerPedAnims();
//ManualVehicleEngineAndLights();
//LimitGlobalChatRadius(300.0);
ClassSel_InitTextDraws();
// Player Class
AddPlayerClass(281,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(282,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(283,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(284,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(285,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(286,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(287,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(288,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(289,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(265,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(266,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(267,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(268,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(269,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(270,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(1,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(2,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(3,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(4,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(5,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(6,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(8,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(42,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(65,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
//AddPlayerClass(74,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(86,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(119,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
  AddPlayerClass(149,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(208,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(273,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(289,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(47,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(48,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(49,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(50,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(51,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(52,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(53,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(54,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(55,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(56,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(57,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(58,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
    AddPlayerClass(68,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(69,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(70,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(71,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(72,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(73,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(75,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(76,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(78,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(79,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(80,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(81,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(82,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(83,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(84,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(85,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(87,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(88,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(89,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(91,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(92,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(93,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(95,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(96,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(97,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(98,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(99,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
// SPECIAL
total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/trains.txt\");
total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/pilots.txt\");
    // LAS VENTURAS
     total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/lv_law.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/lv_airport.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/lv_gen.txt\");
    // SAN FIERRO
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/sf_law.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/sf_airport.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/sf_gen.txt\");
    // LOS SANTOS
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/ls_law.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/ls_airport.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/ls_gen_inner.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/ls_gen_outer.txt\");
    // OTHER AREAS
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/whetstone.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/bone.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/flint.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/tierra.txt\");
    total_vehicles_from_files += LoadStaticVehiclesFromFile(\"vehicles/red_county.txt\");
    printf(\"Total vehicles from files: %d\",total_vehicles_from_files);
    CreateObject(983, 1539.6, -1614.6, 16.6, 0, 0, 0);
    CreateObject(983, 1539.6, -1608.2, 16.6, 0, 0, 0);
    CreateObject(983, 1539.6, -1605.6, 16.6, 0, 0, 0);
    CreateObject(983, 1542.8, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1549.1, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1555.4, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1561.7, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1568.1, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1574.5, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1580.9, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1587.3, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1593.7, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1600.1, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1604.9, -1602.4, 16.6, 0, 0, 270);
    CreateObject(983, 1542.8, -1617.8, 16.6, 0, 0, 270);
    CreateObject(983, 1546.4, -1617.8, 16.6, 0, 0, 270);
    CreateObject(983, 1608.1, -1605.6, 16.6, 0, 0, 0);
    CreateObject(983, 1608.1, -1612, 16.6, 0, 0, 0);
    CreateObject(983, 1608.1, -1618.4, 16.6, 0, 0, 0);
    CreateObject(983, 1608.1, -1624.8, 16.6, 0, 0, 0);
    CreateObject(983, 1608.1, -1631.2, 16.6, 0, 0, 0);
    CreateObject(983, 1608.1, -1634.9, 16.6, 0, 0, 0);
    CreateObject(983, 1604.9, -1638.1, 16.6, 0, 0, 270);
    CreateObject(983, 1545.7, -1637.1, 28.1, 0, 0, 270);
    CreateObject(983, 1552.1, -1637.1, 28.1, 0, 0, 270);
    CreateObject(983, 1558.5, -1637.1, 28.1, 0, 0, 270);
    CreateObject(983, 1564.9, -1637.1, 28.1, 0, 0, 270);
    CreateObject(983, 1571.3, -1637.1, 28.1, 0, 0, 270);
    CreateObject(983, 1574.7, -1637.1, 28.1, 0, 0, 270);
    CreateObject(983, 1545.7, -1650.8, 28, 0, 0, 270);
    CreateObject(983, 1550.4, -1650.8, 28, 0, 0, 270);
    CreateObject(983, 1550.3, -1700.4, 28.1, 0, 0, 270);
    CreateObject(983, 1545.7, -1700.4, 28, 0, 0, 270);
    CreateObject(983, 1545.7, -1714.6, 28.1, 0, 0, 270);
    CreateObject(983, 1552.1, -1714.6, 28.1, 0, 0, 270);
    CreateObject(983, 1558.5, -1714.6, 28.1, 0, 0, 270);
    CreateObject(983, 1564.9, -1714.6, 28.1, 0, 0, 270);
    CreateObject(983, 1571.3, -1714.6, 28.1, 0, 0, 270);
    CreateObject(983, 1574.7, -1714.6, 28.1, 0, 0, 270);
    CreateObject(3029, 1565.7, -1667.3, 27.4, 0, 0, 90.25);
    CreateObject(983, 1577.9, -1640.3, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1646.7, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1653.1, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1659.5, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1665.9, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1672.3, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1678.7, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1685.1, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1691.5, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1697.9, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1704.3, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1710.7, 28.1, 0, 0, 0);
    CreateObject(983, 1577.9, -1711.4, 28.1, 0, 0, 0);
    CreateObject(983, 1542.6, -1711.4, 28.1, 0, 0, 0);
    CreateObject(983, 1542.6, -1705, 28.1, 0, 0, 0);
    CreateObject(983, 1542.6, -1703.6, 28.1, 0, 0, 0);
    CreateObject(983, 1553.5, -1697.2, 28.1, 0, 0, 0);
    CreateObject(983, 1553.5, -1690.8, 28.1, 0, 0, 0);
    CreateObject(983, 1553.5, -1684.4, 28.1, 0, 0, 0);
    CreateObject(983, 1553.5, -1681.6, 28.1, 0, 0, 0);
    CreateObject(3666, 1554.2, -1678.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.9, -1678.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.6, -1678.4, 27.9, 0, 0, 0);
    CreateObject(983, 1553.5, -1669.6, 28.1, 0, 0, 0);
    CreateObject(3666, 1554.5, -1678.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1678.1, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1677.8, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1677.5, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1677.2, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1676.9, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1676.6, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1676.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1676, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1675.7, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1675.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1675.1, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1674.8, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1674.5, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1674.2, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1673.9, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1673.6, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1673.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1673, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.5, -1672.7, 27.9, 0, 0, 0);
    CreateObject(3666, 1554.2, -1672.7, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.9, -1672.7, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.6, -1672.7, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.5, -1692.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1545.7, -1700.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1542.7, -1711.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1560.1, -1714.5, 27.9, 0, 0, 0);
    CreateObject(3666, 1577.8, -1704.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1577.9, -1680.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1577.9, -1664.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1577.9, -1649.9, 27.9, 0, 0, 0);
    CreateObject(3666, 1577.8, -1637.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1561.7, -1637.2, 27.9, 0, 0, 0);
    CreateObject(3666, 1542.6, -1637.3, 27.9, 0, 0, 0);
    CreateObject(983, 1553.5, -1663.2, 28.1, 0, 0, 0);
    CreateObject(983, 1553.5, -1658.1, 28.1, 0, 0, 0);
    CreateObject(983, 1553.5, -1654, 28.1, 0, 0, 0);
    CreateObject(983, 1542.5, -1640.3, 28.1, 0, 0, 0);
    CreateObject(983, 1542.5, -1646.7, 28.1, 0, 0, 0);
    CreateObject(983, 1542.5, -1647.6, 28.1, 0, 0, 0);
    CreateObject(3666, 1542.5, -1650.7, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.5, -1658.2, 27.9, 0, 0, 0);
    CreateObject(3666, 1553.5, -1667.4, 27.9, 0, 0, 0);
    CreateObject(3666, 1545.6, -1672.8, 13.1, 0, 0, 0);
    CreateObject(3666, 1545.6, -1678.6, 13.1, 0, 0, 0);
    CreateObject(3934, 1564, -1703.3, 27.4, 0, 0, 0);
    CreateObject(3666, 1568, -1707, 27.9, 0, 0, 0);
    CreateObject(3666, 1559.9, -1707, 27.9, 0, 0, 0);
    CreateObject(3666, 1559.9, -1699.8, 27.9, 0, 0, 0);
    CreateObject(3666, 1568.1, -1699.7, 27.9, 0, 0, 0);
    CreateObject(3934, 1554.5, -1643.5, 27.4, 0, 0, 0);
    CreateObject(3666, 1558.6, -1639.9, 27.9, 0, 0, 0);
    CreateObject(3666, 1558.7, -1647.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1550.6, -1647.3, 27.9, 0, 0, 0);
    CreateObject(3666, 1550.3, -1639.9, 27.9, 0, 0, 0);
    CreateObject(3934, 1571.4, -1655.3, 27.4, 0, 0, 270.5);
    CreateObject(3666, 1574.9, -1651.2, 27.9, 0, 0, 0);
    CreateObject(3666, 1567.6, -1651.1, 27.9, 0, 0, 0);
    CreateObject(3666, 1567.7, -1659.1, 27.9, 0, 0, 0);
    CreateObject(3666, 1575, -1659.1, 27.9, 0, 0, 0);
return 1;
}
//----------------------------------------------------------
public OnPlayerUpdate(playerid)
{
if(!IsPlayerConnected(playerid)) return 0;
if(IsPlayerNPC(playerid)) return 1;
// changing cities by inputs
if( !gPlayerHasCitySelected[playerid] &&
     GetPlayerState(playerid) == PLAYER_STATE_SPECTATING ) {
     ClassSel_HandleCitySelection(playerid);
     return 1;
}
 
/* No jetpacks allowed
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
     Kick(playerid);
     return 0;
}*/
/* For testing animations
    new msg[128+1];
new animlib[32+1];
new animname[32+1];
thisanimid = GetPlayerAnimationIndex(playerid);
if(lastanimid != thisanimid)
{
  GetAnimationName(thisanimid,animlib,32,animname,32);
  format(msg, 128, \"anim(%d,%d): %s %s\", lastanimid, thisanimid, animlib, animname);
  lastanimid = thisanimid;
  SendClientMessage(playerid, 0xFFFFFFFF, msg);
}*/
return 1;
}
//----------------------------------------------------------

47
SA-MP: Szerverfejlesztés / Defensive RPG
« Dátum: 2014. május 11. - 08:27:56 »
RightonTime, az utóbbi azért van, mert BOM maradt benne. Ha scriptfiles mappában pl. sima jegyzettömbbel nyitottad meg a karaktered, akkor az a baj. Használj pl. Notepad++-t, és a Kódolás-nál állítsd át BOM nélküli-re. Azt, hogy jelszóval kelljen belépned, kikell törölnöm a lista legelejérõl egy ÿ jeet, legalábbis nekem azt kellett.

48
RP/RPG kérések / Rang adás
« Dátum: 2014. május 10. - 19:07:18 »
Sziasztok!
Az lenne a problémám, hogy a rang adásnál minden jól meg, de ha meg szeretném nézni az Online listát, akkor mindenkinek azt a rangot írja, amit írtam. Ha pedig valakinek nincs abba a Szervezetbe rangja, akkor nem ír semmit. Azt szeretném, hogy mindenkinek külön legyen a rangja, és akiknek nincs, akkor annak is kiírja.
A rangadás:
 

CMD:rangad(playerid,params[])
{
    if(pInfo[playerid][pFrakcio] == SZFONOK || pInfo[playerid][pSzerv] == FBIFONOK || pInfo[playerid][pFrakcio] == TAXIFONOK || pInfo[playerid][pFrakcio] == RAFONOK || pInfo[playerid][pFrakcio] == TUZOLTOFONOK || pInfo[playerid][pFrakcio] == ADOFONOK || pInfo[playerid][pFrakcio] == SZFONOK || pInfo[playerid][pFrakcio] == MFONOK || pInfo[playerid][pFrakcio] == RFONOK || pInfo[playerid][pAdmin] >= 4)
    {
        new Rang[20];
        if(sscanf(params, \"rs\", id, Rang)) return SendClientMessage(playerid, PIROS, \"Használat: /rangad < Név / Id > < Rang >\");
       
       if(!IsPlayerConnected(id)) return SendClientMessage(playerid, PIROS, \"A játékos nem elérhetõ!\");
       
       format(pInfo[playerid][pRang], MAX_PLAYER_NAME, \"%s\", Rang);
       
       SendClientMessage(playerid, NARANCS, \"* Rang kiosztva!\");
    }
    else
    {
        SendClientMessage(playerid, PIROS, \"Nem vagy Frakció Leader!\");
    }
    return 1;
}

 
Az Online lista
 

CMD:fbitagok(playerid, params[])
{
new S[128];
        SendClientMessage(playerid, FONTOS, \"Elérhetõ FBI-osok:\");
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
    if(pInfo[pSzerv] == FBIFONOK)
    {
      format(S, sizeof(S), \" %s, %s\", pInfo[pFNev], pInfo[playerid][pRang]);
      SendClientMessage(playerid, FONTOS, S);
    }
     else if(pInfo[pSzerv] == FBIOS)
    {
                format(S, sizeof(S), \" %s, %s\", pInfo[pFNev], pInfo[playerid][pRang]);
      SendClientMessage(playerid, FONTOS, S);
    }
}
}
return 1;
}

 

Dupla hozzászólás automatikusan összefûzve. ( 2014. május 10. - 19:38:18 )

Már félig megvan, most már csak magamnak tudok rangot adni.

Dupla hozzászólás automatikusan összefûzve. ( 2014. május 11. - 08:32:18 )

Most így néz ki:
 
CMD:rangad(playerid,params[])
{
    if(pInfo[playerid][pFrakcio] == SZFONOK || pInfo[playerid][pSzerv] == FBIFONOK || pInfo[playerid][pFrakcio] == TAXIFONOK || pInfo[playerid][pFrakcio] == RAFONOK || pInfo[playerid][pFrakcio] == TUZOLTOFONOK || pInfo[playerid][pFrakcio] == ADOFONOK || pInfo[playerid][pFrakcio] == SZFONOK || pInfo[playerid][pFrakcio] == MFONOK || pInfo[playerid][pFrakcio] == RFONOK || pInfo[playerid][pAdmin] >= 4)
    {
        new Rang[20];
        if(sscanf(params, \"us\", id, Rang)) return SendClientMessage(playerid, PIROS, \"Használat: /rangad < Név / Id > < Rang >\");
       
       if(!IsPlayerConnected(id)) return SendClientMessage(playerid, PIROS, \"A játékos nem elérhetõ!\");
       
       format(pInfo[playerid][pRang], MAX_PLAYER_NAME, \"%s\", Rang);
       
       SendClientMessage(playerid, NARANCS, \"* Rang kiosztva!\");
    }
    else
    {
        SendClientMessage(playerid, PIROS, \"Nem vagy Frakció Leader!\");
}
    return 1;
}

 
A másik pedig:
 
CMD:fbitagok(playerid, params[])
{
new S[128];
    SendClientMessage(playerid, FONTOS, \"Elérhetõ FBI-osok:\");
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
   if(pInfo[pSzerv] == FBIFONOK)
    {
      format(S, sizeof(S), \" %s, %s\", pInfo[pFNev], pInfo[pRang]);
      SendClientMessage(playerid, FONTOS, S);
   }
   else if(pInfo[pSzerv] == FBIOS)
    {
      format(S, sizeof(S), \" %s, %s\", pInfo[pFNev], pInfo[pRang]);
      SendClientMessage(playerid, FONTOS, S);
   }
}
}
return 1;
}

49
RP/RPG kérések / Defensive bugg :/
« Dátum: 2014. május 06. - 19:58:29 »
Ha BOM maradt benne, akkor nálam a Jelszó=xy elé betett egy ÿ-jelet, szóval ÿJelszó=xy lett. Notepad++-al töröld az elejérõl és akkor már jónak kell lennie.

50
Segítségkérés / Kód beillesztés
« Dátum: 2014. május 04. - 10:16:54 »
Sziasztok!
Abban kérném a segítségeteket, hogy nem tudom, mi alá kell betenni ezt a kódot:
 
    if (IsPlayerInRangeOfPoint(playerid, 2.0, -406.8336, 1016.8070, 10.0946))
{
!GetPlayerMoney(playerid) < 30;
{
   MoveDynamicObject(sorompo1, -404.8060, 1020.2559, 10.8975, 0.0000, 0.0000, 59.7600);
   GivePlayerMoney(playerid, -30);
        }
}
else
{
IsPlayerInRangeOfPoint(playerid, 2.0, -410.1985, 1011.2932, 10.0946);
   {
   !GetPlayerMoney(playerid) < 30;
   {
      MoveDynamicObject(sorompo2, -411.9671, 1008.7549, 10.8975, 0.0000, 0, -123.4800);
      GivePlayerMoney(playerid, -30);
   }
}
}

 
A segítséget elõre köszönöm!
E: Ha például beteszem az OnPlayerConnect alá, akkor warning-ot ír.
Warning:
 
warning 213: tag mismatch
warning 215: expression has no effect
warning 213: tag mismatch
warning 215: expression has no effect

 
Ezekre a sorokra:
54. sor
 
!GetPlayerMoney(playerid) < 30;

 
64. sor
 
!GetPlayerMoney(playerid) < 30;

 

Dupla hozzászólás automatikusan összefûzve. ( 2014. május 04. - 10:31:17 )

Kijavítottam!
a
!GetPlayerMoney(playerid) < 30;

-t
kocsiréltem:
 
GetPlayerMoney(playerid) > 30;

-ra!

51
Segítségkérés / Itt kérdezz object ID-t!
« Dátum: 2014. május 03. - 12:56:11 »
Idézetet írta: RightonTime date=1399112982\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"4106\" data-ipsquote-contentclass=\"forums_Topic
én azt a objectet keresem ami mozog a szín táncparket!! ilyen partyn használnak! ilyet: link
ez is érdekel mi az idje: link
elõre is köszi! ha lehetõleg MTA id legyen az a kettõ! ha Editor az sem baj!
[mod]Javítom itt, az idézetben is![/mod]
 
Elsõ: 19128 és 19129
Második: 9339

52
Szkript kérések / Egy helyben álló NPC-k
« Dátum: 2014. május 02. - 12:44:31 »
Ha RP szerver, akkor lehet csak Vezetéknév_Keresztnev-et fogad el.

53
Segítségkérés / OOC Chat
« Dátum: 2014. május 01. - 20:17:13 »
Köszönöm! Jó lett!

54
Segítségkérés / OOC Chat
« Dátum: 2014. május 01. - 14:59:52 »
Sziasztok!
Az lenne a problémám, hogy az OOC Chat-nél nem tudom, hogyan kellene megcsinálni azt, hogy ha az illetõ Admin akkor az Admin nevét írja ki, ha normál Player akkor a nevét és, és ha 1-es,2-es,3-as VIP, akkor különbözõ színnel azt, hogy [VIP].
Ideig van meg, csak így errort ír:
 
CMD:b(playerid, params[])
{
if(AdminSzoliban[playerid] == 1)
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"(( {ff0000}%s OOC{ffffff} %s ))\", pInfo[playerid][pANev], S);
ProxDetector(10.0, playerid, S2, -1, -1, -1, -1, -1);
}
else
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(8.0, playerid, S2, -1, -1, -1, -1, -1);
}
    else(pInfo[playerid][pVip] == 1)
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"{835930}[VIP]{ffffff}(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(10.0, playerid, S2, -1, -1, -1, -1, -1);
}
    else
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(8.0, playerid, S2, -1, -1, -1, -1, -1);
}
    else(pInfo[playerid][pVip] == 2)
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"{999999}[VIP]{ffffff}(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(10.0, playerid, S2, -1, -1, -1, -1, -1);
}
    else
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(8.0, playerid, S2, -1, -1, -1, -1, -1);
}
    else(pInfo[playerid][pVip] == 3)
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"{ffff00}[VIP]{ffffff}(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(10.0, playerid, S2, -1, -1, -1, -1, -1);
}
    else
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /b < OOC >\");
format(S2, sizeof(S2), \"(( %s {ff0000}OOC{ffffff} %s ))\", Nev(playerid), S);
ProxDetector(8.0, playerid, S2, -1, -1, -1, -1, -1);
}
return 1;
}

56
Szia! Én a TeamSpeak 3 konfigos részre jelentkeznék.

Dupla hozzászólás automatikusan összefûzve. ( 2014. április 22. - 11:18:44 )

Amúgy ezek hiányoznak:
Ha vannak valamilyen elvárásaid a jelentkezõkkel szemben azokat is írd le.
Írd le mit adsz a szolgálatokért cserébe.

57
Beszélgetés / Hogy ejted ki az elõtted szóló nevét?
« Dátum: 2014. április 17. - 11:40:32 »
rovell (vagy róvöll)

58
Beszélgetés / Hogy ejted ki az elõtted szóló nevét?
« Dátum: 2014. április 17. - 08:38:33 »
Sztrájkör

59
SA-MP: Szerverfejlesztés / [MEGEGYEZÉS ALAPJÁN]Desert Life RPG
« Dátum: 2014. április 04. - 19:02:41 »
például a Holiday RPG-n

Dupla hozzászólás automatikusan összefûzve. ( 2014. április 04. - 19:04:42 )

De a mod-ba is bele van írva, hogy lesznek ilyen újítások:
 
Újítások: -Taxisok,Kukás vállalat,mikulás sapka ((/sapkafel))
Újítások: -Maffiának && Surenyosnak kocsik,Rádiós kocsik, átmappolások
Újítások((Amik készülnek)): -Egész átmappolása, Ruhaszállító,Polgármester-Testõr-Sofõr,Katonaság
Újítások((Amik készülnek)): -ATM rendszer(Rablás is),Ételfutár,Csomagszállító,Versenypálya,Rangok
Újítások((Amik készülnek)): -Bay Side bemappolása ((EQ-LP-LB mellett de lehet hogy nem lesz bemappolva!))

60
SA-MP: Szerverfejlesztés / [MEGEGYEZÉS ALAPJÁN]Desert Life RPG
« Dátum: 2014. április 04. - 16:58:37 »
Sziasztok!
Láttam, ennek van egy másik verziója, amiben van Katonaság, Polgármester, ATM és a többi.
Az is megtalálható valahol, vagy csak függõben lévõ dolgok?

Oldalak: 1 2 3 [4] 5 6 7
SimplePortal 2.3.7 © 2008-2024, SimplePortal