Ü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 - Sanyko

Oldalak: 1 ... 9 10 [11] 12 13 ... 22
151
Segítségkérés / PPC_Housing
« Dátum: 2016. Január 02. - 14:44:28 »
Sziasztok van egy házrendszer (PPC_Housing) amikor kijövök a házból akkor befagyok és akármilyen működő parancsot írok be azt írja hogy nincs ilyen parancs! És a szerver nem áll le. Válaszokat előre is köszönöm!
U:és a kamionos modba van beleírva

152
Segítségkérés / Itt kérdezz warningot/error -t!
« Dátum: 2015. December 31. - 23:31:04 »
Sziasztok!
 
error 030: compound statement not closed at the end of file (started at line 31)

 
Ez mit jelent? És olyan helyre mutat ahol NINCS semmi még olyan sor sincs!
Az egész kód:
 
// Rádió by xD1999
// Nevemet tüntesd fel!
// Rádiók:MixRádió,Rádió1,NeoFM,classFM,LazaRádió,CitromRádió,EurópaRádió,RockVilág,FolkRádió
//#define FILTERSCRIPT
#define Radio 123
#include <a_samp>
#include <zcmd>
#if defined FILTERSCRIPT
 
#pragma tabsize 0
public OnFilterScriptInit()
{
        print(\"\\n--------------------------------------\");
        print(\" Radió Script by xD1999 betöltve\");
        print(\"--------------------------------------\\n\");
        return 1;
}
#endif
CMD:radio(playerid, params[])
{
        ShowPlayerDialog(playerid, Radio, DIALOG_STYLE_LIST,\"Rádiók\",\"LazaRádió\\nAll in Party\\nMixRádió\\nRockVilág\\nKikapcsolás\",\"Hallgatás\",\"Kilépés\");
        return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if ( dialogid == Radio )
{
if( !response )
{
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid,0x0000FFAA,\"{FF0000}Kiléptél a Rádió Dialogból!{00FF00}És a rádió kikapcsolva!\");
return 1;
}
if( listitem == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://savetofile.net:8450/listen.pls\");
SendClientMessage(playerid,0xFFFF00AA,\"Most a LazaRádió szól neked!\");
}
if( listitem == 1)
{
PlayAudioStreamForPlayer(playerid,\"http://savetofile.net:8450/;stream\");
SendClientMessage(playerid,0xFFFF00AA,\"Most a All in PartyRádió szól neked\");
}
if( listitem == 2)
{
PlayAudioStreamForPlayer(playerid,\"http://212.108.220.144:1039/stream.mp3\");
SendClientMessage(playerid,0xFFFF00AA,\"Most a MixRádió szól neked\");
}
if( listitem == 3)
{
PlayAudioStreamForPlayer(playerid,\"http://94.199.181.124:8800/rockvilag1.m3u\");
SendClientMessage(playerid,0xFFFF00AA,\"Most a RockVilágRádió szól neked\");
}
if( listitem == 4)
{
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid,0xFFFF00AA,\"Rádió Kikapcsolva\");
}
return 1;
}

153
Segítségkérés / házrendszer
« Dátum: 2015. December 31. - 20:33:26 »
Itt az egész átnézed mi nem jó benne?
 
// ************************************************************************************************************************************************************
// PPC_Housing
// ************************************************************************************************************************************************************
// This function returns the first free house-slot for the given player
Player_GetFreeHouseSlot(playerid)
{
// Check if the player has room for another house (he hasn\'t bought the maximum amount of houses per player yet)
// and get the slot-id
for (new HouseIndex; HouseIndex < MAX_HOUSESPERPLAYER; HouseIndex++) // Loop through all house-slots of the player
if (APlayerData[playerid][Houses][HouseIndex] == 0) // Check if this house slot is free
    return HouseIndex; // Return the free HouseIndex for this player
// If there were no free house-slots, return \"-1\"
return -1;
}
// This function returns the maximum number of car-slots, based on the house-level
House_GetMaxCarSlots(HouseID)
{
// Return the maximum number of carslots, based on the house-level (every level has one carslot, so return the houselevel)
return AHouseData[HouseID][HouseLevel];
}
// This function returns the first free carslot in the given house (or -1 if no free slot is found)
House_GetFreeCarSlot(HouseID)
{
// Get the maximum number of carslots for this house (based on the house-level)
new MaxCarSlots = House_GetMaxCarSlots(HouseID);
// Get the maximum number of carslots for this house and make a loop through all carslots for this house
for (new CarSlot; CarSlot < MaxCarSlots; CarSlot++)
{
// Check if the carslot is empty
if (AHouseData[HouseID][VehicleIDs][CarSlot] == 0)
    return CarSlot; // Return the carslot-id
}
// If no carslots are free, return -1
return -1;
}
 
// This function sets ownership to the given player
House_SetOwner(playerid, HouseID)
{
// Setup local variables
new HouseSlotFree, Name[24], Msg[128];
// Get the first free house-slot from this player
HouseSlotFree = Player_GetFreeHouseSlot(playerid);
// Check if the player has a free house-slot
if (HouseSlotFree != -1)
{
// Get the player\'s name
GetPlayerName(playerid, Name, sizeof(Name));
// Store the house-id for the player
APlayerData[playerid][Houses][HouseSlotFree] = HouseID;
// Let the player pay for the house
RewardPlayer(playerid, -AHouseData[HouseID][HousePrice], 0);
// Set the house as owned
AHouseData[HouseID][Owned] = true;
// Store the owner-name for the house
format(AHouseData[HouseID][Owner], 24, Name);
// Set the level to 1
AHouseData[HouseID][HouseLevel] = 1;
// Set the default house-name (\"<playername>\'s house\")
format(AHouseData[HouseID][HouseName], 100, TXT_DefaultHouseName, Name);
// Also, update the pickup and map-icon for this house
House_UpdateEntrance(HouseID);
// Save the player-file (and also his houses/businesses)
PlayerFile_Save(playerid);
// Let the player know he bought the house
format(Msg, 128, TXT_PlayerBoughtHouse, AHouseData[HouseID][HousePrice]);
SendClientMessage(playerid, 0xFFFFFFFF, Msg);
}
else
    SendClientMessage(playerid, 0xFFFFFFFF, TXT_PlayerOwnsMaxHouses);
return 1;
}
 
// This function is used to spawn back at the entrance of your house
    House_Exit(playerid, HouseID)
    {
            // Set the player in the normal world again
            SetPlayerVirtualWorld(playerid, 0);
            SetPlayerInterior(playerid, 0);
            // Set the position of the player at the entrance of his house
            SetPlayerPos(playerid, AHouseData[HouseID][HouseX], AHouseData[HouseID][HouseY], AHouseData[HouseID][HouseZ]);
            // Also clear the tracking-variable to track in which house the player is
            APlayerData[playerid][CurrentHouse] = 0;
            // Check if there is a timer-value set for exiting the house (this timer freezes the player while the environment is being loaded)
            if (ExitHouseTimer > 0)
            {
                    // Let the player know he\'s frozen for 5 seconds
                    GameTextForPlayer(playerid, TXT_ExitHouseReloadEnv, ExitHouseTimer, 4);
                    // Start a timer that will allow the player to fall again when the environment has loaded
                    TogglePlayerControllable(playerid, 1);
            // Respawn the player\'s vehicles near the house (only the vehicles that belong to this house)
            for (new CarSlot; CarSlot < 10; CarSlot++)
                    if (AHouseData[HouseID][VehicleIDs][CarSlot] != 0)
                        SetVehicleToRespawn(AHouseData[HouseID][VehicleIDs][CarSlot]);
            }
            return 1;
    }
forward House_ExitTimer(playerid, HouseID);
public House_ExitTimer(playerid, HouseID)
{
// Allow the player to move again (environment should have been loaded now)
    TogglePlayerControllable(playerid, 1);
// Respawn the player\'s vehicles near the house (only the vehicles that belong to this house)
for (new CarSlot; CarSlot < 10; CarSlot++)
if (AHouseData[HouseID][VehicleIDs][CarSlot] != 0)
    SetVehicleToRespawn(AHouseData[HouseID][VehicleIDs][CarSlot]);
return 1;
}
 
// This function adds a pickup for the given house
House_CreateEntrance(HouseID)
{
// Setup local variables
new Msg[128], Float:x, Float:y, Float:z;
// Get the coordinates of the house\'s pickup (usually near the door)
x = AHouseData[HouseID][HouseX];
y = AHouseData[HouseID][HouseY];
z = AHouseData[HouseID][HouseZ];
// Add a new pickup at the house\'s location (usually near the door), green = free, blue = owned
if (AHouseData[HouseID][Owned] == true)
{
// Create a blue house-pickup (house is owned)
   AHouseData[HouseID][PickupID] = CreateDynamicPickup(1272, 1, x, y, z, 0);
// Create the 3DText that appears above the house-pickup (displays the housename and the name of the owner)
format(Msg, 128, TXT_PickupHouseOwned, AHouseData[HouseID][HouseName], AHouseData[HouseID][Owner], AHouseData[HouseID][HouseLevel]);
AHouseData[HouseID][DoorText] = CreateDynamic3DTextLabel(Msg, 0x008080FF, x, y, z + 1.0, 50.0);
// Add a streamed icon to the map (red house), type = 32, color = 0, world = 0, interior = 0, playerid = -1, drawdist = 150.0
if (ShowBoughtHouses == true)
   AHouseData[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 32, 0, 0, 0, -1, 150.0);
}
else
{
        // Create a green house-pickup (house is free)
AHouseData[HouseID][PickupID] = CreateDynamicPickup(1273, 1, x, y, z, 0);
// Create the 3DText that appears above the house-pickup (displays the price of the house)
format(Msg, 128, TXT_PickupHouseForSale, AHouseData[HouseID][HousePrice], AHouseData[HouseID][HouseMaxLevel]);
AHouseData[HouseID][DoorText] = CreateDynamic3DTextLabel(Msg, 0x008080FF, x, y, z + 1.0, 50.0);
// Add a streamed icon to the map (green house), type = 31, color = 0, world = 0, interior = 0, playerid = -1, drawdist = 150.0
AHouseData[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 31, 0, 0, 0, -1, 150.0);
}
}
// This function changes the pickup (and map-icon) for the given house (used when buying or selling a house)
House_UpdateEntrance(HouseID)
{
// Setup local variables
new Msg[128], Float:x, Float:y, Float:z;
// Get the coordinates of the house\'s pickup (usually near the door)
x = AHouseData[HouseID][HouseX];
y = AHouseData[HouseID][HouseY];
z = AHouseData[HouseID][HouseZ];
// Destroy the pickup and map-icon near the house\'s entrance
DestroyDynamicPickup(AHouseData[HouseID][PickupID]);
DestroyDynamicMapIcon(AHouseData[HouseID][MapIconID]);
// Add a new pickup at the house\'s location (usually near the door), green = free, blue = owned
if (AHouseData[HouseID][Owned] == true)
{
// Create a blue house-pickup (house is owned)
   AHouseData[HouseID][PickupID] = CreateDynamicPickup(1272, 1, x, y, z, 0);
// Update the 3DText that appears above the house-pickup (displays the housename and the name of the owner)
format(Msg, 128, TXT_PickupHouseOwned, AHouseData[HouseID][HouseName], AHouseData[HouseID][Owner], AHouseData[HouseID][HouseLevel]);
UpdateDynamic3DTextLabelText(AHouseData[HouseID][DoorText], 0x008080FF, Msg);
// Add a streamed icon to the map (red house), type = 32, color = 0, world = 0, interior = 0, playerid = -1, drawdist = 150.0
if (ShowBoughtHouses == true)
   AHouseData[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 32, 0, 0, 0, -1, 150.0);
}
else
{
        // Create a green house-pickup (house is free)
AHouseData[HouseID][PickupID] = CreateDynamicPickup(1273, 1, x, y, z, 0);
// Update the 3DText that appears above the house-pickup (displays the price of the house)
format(Msg, 128, TXT_PickupHouseForSale, AHouseData[HouseID][HousePrice], AHouseData[HouseID][HouseMaxLevel]);
UpdateDynamic3DTextLabelText(AHouseData[HouseID][DoorText], 0x008080FF, Msg);
// Add a streamed icon to the map (green house), type = 31, color = 0, world = 0, interior = 0, playerid = -1, drawdist = 150.0
AHouseData[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 31, 0, 0, 0, -1, 150.0);
}
}
// This function adds a vehicle to the house (if possible)
House_AddVehicle(HouseID, cModel, cPaint, cComponents[], Float:cx, Float:cy, Float:cz, Float:crot, Col1, Col2)
{
// Setup local variables
new vid, CarSlot, vText[128];
// Get a free carslot from the house
CarSlot = House_GetFreeCarSlot(HouseID);
// Check if there is a free carslot
if (CarSlot != -1)
{
// Create a new vehicle and get the vehicle-id
vid = CreateVehicle(cModel, cx, cy, cz, crot, Col1, Col2, 600);
// Store the vehicle-id in the house\'s free carslot
AHouseData[HouseID][VehicleIDs][CarSlot] = vid;
// Save the model of the vehicle
AVehicleData[vid][Model] = cModel;
// Save the paintjob of the vehicle and apply it
AVehicleData[vid][PaintJob] = cPaint;
if (cPaint != 0)
   ChangeVehiclePaintjob(vid, cPaint - 1);
// Also update the car-color
ChangeVehicleColor(vid, Col1, Col2);
// Save the colors of the vehicle
AVehicleData[vid][Color1] = Col1;
AVehicleData[vid][Color2] = Col2;
// Save the components of the vehicle and apply them
for (new i; i < 14; i++)
{
   AVehicleData[vid][Components] = cComponents;
    // Check if the componentslot has a valid component-id
   if (AVehicleData[vid][Components] != 0)
        AddVehicleComponent(vid, AVehicleData[vid][Components]); // Add the component to the vehicle
}
// Save the spawn-data of the vehicle
        AVehicleData[vid][spawnX] = cx;
        AVehicleData[vid][spawnY] = cy;
        AVehicleData[vid][spawnZ] = cz;
        AVehicleData[vid][spawnRot] = crot;
// Also set the fuel to maximum
AVehicleData[vid][Fuel] = MaxFuel;
// Also set the owner
AVehicleData[vid][Owned] = true;
format(AVehicleData[vid][Owner], 24, AHouseData[HouseID][Owner]);
// Save the HouseID for the vehicle
AVehicleData[vid][belongsToHouse] = HouseID;
// Add a 3DText label to the vehicle, displaying the name of the owner
        format(vText, sizeof(vText), \"Vehicle owned by: \\n%s\", AVehicleData[vid][Owner]);
        AVehicleData[vid][VehicleText] = CreateDynamic3DTextLabel(vText, 0xFFFFFF, 0.0, 0.0, 0.0, 80.0, INVALID_PLAYER_ID, vid);
}
else // No free carslot was found, return 0
return 0;
// Exit the function and return the vehicle-id
return vid;
}
// This function is used only when you respawn your vehicles by exiting your house
House_ReplaceVehicle(HouseID, CarSlot)
{
// Setup local variables
new vid, cModel, cPaint, cComponents[14], Float:cx, Float:cy, Float:cz, Float:crot, Col1, Col2, Float:Health, cFuel, Neons;
new panels, doors, lights, tires;
// Get the data from the already existing vehicle that was parked before
vid = AHouseData[HouseID][VehicleIDs][CarSlot];
cModel = AVehicleData[vid][Model];
cPaint = AVehicleData[vid][PaintJob];
cFuel = AVehicleData[vid][Fuel];
for (new i; i < 14; i++)
    cComponents = AVehicleData[vid][Components];
Col1 = AVehicleData[vid][Color1];
Col2 = AVehicleData[vid][Color2];
cx = AVehicleData[vid][spawnX];
cy = AVehicleData[vid][spawnY];
cz = AVehicleData[vid][spawnZ];
crot = AVehicleData[vid][spawnRot];
Neons = AVehicleData[vid][NeonObjectModel];
GetVehicleHealth(vid, Health);
GetVehicleDamageStatus(vid, panels, doors, lights, tires);
// Remove neons
if (AVehicleData[vid][NeonObjectModel] != 0)
{
        DestroyObject(AVehicleData[vid][NeonLeft]);
        DestroyObject(AVehicleData[vid][NeonRight]);
        AVehicleData[vid][NeonLeft] = 0;
        AVehicleData[vid][NeonRight] = 0;
AVehicleData[vid][NeonObjectModel] = 0;
}
// Delete the vehicle and clear the data
Vehicle_Delete(vid);
// Create a new vehicle in the same carslot
vid = House_AddVehicle(HouseID, cModel, cPaint, cComponents, Float:cx, Float:cy, Float:cz, Float:crot, Col1, Col2);
// Update the fuel of the vehicle to the previous setting
AVehicleData[vid][Fuel] = cFuel;
// Update the health to what it was before and update the bodywork
SetVehicleHealth(vid, Health);
UpdateVehicleDamageStatus(vid, panels, doors, lights, tires);
// Re-apply the neons if they were there
if (Neons != 0)
{
AVehicleData[vid][NeonObjectModel] = Neons;
    AVehicleData[vid][NeonLeft] = CreateObject(AVehicleData[vid][NeonObjectModel],0,0,0,0,0,0);
    AVehicleData[vid][NeonRight] = CreateObject(AVehicleData[vid][NeonObjectModel],0,0,0,0,0,0);
AttachObjectToVehicle(AVehicleData[vid][NeonLeft], vid, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(AVehicleData[vid][NeonRight], vid, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
}
return vid;
}
// This function is used only when a player logs out (the vehicles are unloaded)
House_RemoveVehicles(HouseID)
{
// Setup local variables
new vid;
// Loop through all carslots of this house
for (new CarSlot; CarSlot < 10; CarSlot++)
{
// Get the vehicle-id
vid = AHouseData[HouseID][VehicleIDs][CarSlot];
// Check if there was a vehicle in this carslot
if (vid != 0)
{
   // Delete the vehicle and clear the data
   DestroyVehicle(vid);
   AHouseData[HouseID][VehicleIDs][CarSlot] = 0;
   AVehicleData[vid][Owned] = false;
   AVehicleData[vid][Owner] = 0;
   AVehicleData[vid][Model] = 0;
   AVehicleData[vid][PaintJob] = 0;
   for (new i; i < 14; i++)
       AVehicleData[vid][Components] = 0;
   AVehicleData[vid][spawnX] = 0.0;
   AVehicleData[vid][spawnY] = 0.0;
   AVehicleData[vid][spawnZ] = 0.0;
   AVehicleData[vid][spawnRot] = 0.0;
   AVehicleData[vid][belongsToHouse] = 0;
   DestroyDynamic3DTextLabel(AVehicleData[vid][VehicleText]);
   // Remove neons
   if (AVehicleData[vid][NeonObjectModel] != 0)
   {
        DestroyObject(AVehicleData[vid][NeonLeft]);
        DestroyObject(AVehicleData[vid][NeonRight]);
        AVehicleData[vid][NeonLeft] = 0;
        AVehicleData[vid][NeonRight] = 0;
      AVehicleData[vid][NeonObjectModel] = 0;
   }
}
}
}
// This function calculates the sell-price for the given house
House_CalcSellPrice(HouseID)
{
// Setup local variables
new SellPrice, NumUpgrades, UpgradePrice;
// Calculate 50% of the original buying price (base-price for selling)
SellPrice = AHouseData[HouseID][HousePrice] / 2;
// Calculate the number of upgrades applied to the house
NumUpgrades = AHouseData[HouseID][HouseLevel] - 1;
// Also calculate 50% for each upgrade, based on the percentage for upgrading the house
UpgradePrice = ((AHouseData[HouseID][HousePrice] / 100) * HouseUpgradePercent) * NumUpgrades;
// Add 50% of the upgrade-price to the sell-price
SellPrice = SellPrice + UpgradePrice;
// Return the total sell-price to the calling function
return SellPrice;
}
// his function returns \"1\" if the given player is the owner of the given house
House_PlayerIsOwner(playerid, HouseID)
{
// Loop through all houses owner by this player
for (new i; i < MAX_HOUSESPERPLAYER; i++)
{
// Check if the player owns the house in any of his house-slots
if (APlayerData[playerid][Houses] == HouseID)
    return 1;
}
// If the player doesn\'t own the house, return 0
return 0;
}

154
Segítségkérés / házrendszer
« Dátum: 2015. December 31. - 20:23:06 »
Idézetet írta: ƒeheristi97 date=1451589078\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58937\" data-ipsquote-contentclass=\"forums_Topic
mutasd a belépési parancsot a házba
 
Hogy találom meg?

155
Segítségkérés / házrendszer
« Dátum: 2015. December 31. - 20:05:42 »
Idézetet írta: ƒeheristi97 date=1451588375\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58937\" data-ipsquote-contentclass=\"forums_Topic
szóval egy parancs sem működik amikor kilépsz a házból? próbáld úgy megnézni a parancsokat amikor belépsz a házba..
 
amikor bemegyek akkor működnek

156
Segítségkérés / házrendszer
« Dátum: 2015. December 31. - 19:58:32 »
Idézetet írta: ƒeheristi97 date=1451587370\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58937\" data-ipsquote-contentclass=\"forums_Topic

House_Exit(playerid, HouseID)
{
// Set the player in the normal world again
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
// Set the position of the player at the entrance of his house
SetPlayerPos(playerid, AHouseData[HouseID][HouseX], AHouseData[HouseID][HouseY], AHouseData[HouseID][HouseZ]);
// Also clear the tracking-variable to track in which house the player is
APlayerData[playerid][CurrentHouse] = 0;
// Check if there is a timer-value set for exiting the house (this timer freezes the player while the environment is being loaded)
if (ExitHouseTimer > 0)
{
// Let the player know he\'s frozen for 5 seconds
GameTextForPlayer(playerid, TXT_ExitHouseReloadEnv, ExitHouseTimer, 4);
// Start a timer that will allow the player to fall again when the environment has loaded
TogglePlayerControllable(playerid, 1);
// Respawn the player\'s vehicles near the house (only the vehicles that belong to this house)
for (new CarSlot; CarSlot < 10; CarSlot++)
if (AHouseData[HouseID][VehicleIDs][CarSlot] != 0)
    SetVehicleToRespawn(AHouseData[HouseID][VehicleIDs][CarSlot]);
}
return 1;
}

 
próbáld így berakni és az alatti függvényt kitörölni és próbáld úgy le
 
most félig jó. Már csak a parancsokat kell

157
Segítségkérés / házrendszer
« Dátum: 2015. December 31. - 19:34:21 »
Idézetet írta: ƒeheristi97 date=1451585745\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58937\" data-ipsquote-contentclass=\"forums_Topic
exit parancsnál lesz a hiba, mivel jössz ki a házból? azt a részt másold be.
 

House_Exit(playerid, HouseID)
{
// Set the player in the normal world again
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
// Set the position of the player at the entrance of his house
SetPlayerPos(playerid, AHouseData[HouseID][HouseX], AHouseData[HouseID][HouseY], AHouseData[HouseID][HouseZ]);
// Also clear the tracking-variable to track in which house the player is
APlayerData[playerid][CurrentHouse] = 0;
// Check if there is a timer-value set for exiting the house (this timer freezes the player while the environment is being loaded)
if (ExitHouseTimer > 0)
{
// Don\'t allow the player to fall
    TogglePlayerControllable(playerid, 0);
// Let the player know he\'s frozen for 5 seconds
GameTextForPlayer(playerid, TXT_ExitHouseReloadEnv, ExitHouseTimer, 4);
// Start a timer that will allow the player to fall again when the environment has loaded
SetTimerEx(\"House_ExitTimer\", ExitHouseTimer, false, \"ii\", playerid, HouseID);
}
return 1;
}

158
Segítségkérés / házrendszer
« Dátum: 2015. December 31. - 19:12:10 »
Sziasztok van egy házrendszer (PPC_Housing) amikor kijövök a házból akkor befagyok és akármilyen működő parancsot írok be azt írja hogy nincs ilyen parancs! És a szerver nem áll le. Válaszokat előre is köszönöm

159
Segítségkérés / Nincs ilyen parancs!
« Dátum: 2015. December 31. - 12:38:49 »
Köszönöm szépen! Kapjátok a +-t

160
Segítségkérés / Nincs ilyen parancs!
« Dátum: 2015. December 31. - 12:16:42 »
Sziasztok itt hogy lehet megoldani hogy kiírja mit írtál be? PL: /asd
Nincs (/asd) parancs!
Code:
 
public OnPlayerCommandPerformed ( playerid, cmdtext [ ], success)
{
   if ( !success )
   {
   return SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Nincs ilyen parancs!\");
   }
   return 1;
}

 
Ilyen színekkel? Válaszokat köszönöm

161
Szkript kérések / Legfrissebb PPC
« Dátum: 2015. December 30. - 17:31:52 »
Idézetet írta: ƒeheristi97 date=1451492374\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58907\" data-ipsquote-contentclass=\"forums_Topic
http://forum.sa-mp.com/showthread.php?t=196493
 
Nekem is ez van meg de itt is külön van az inc-be! Lehet én vagyok a hülye

Dupla hozzászólás automatikusan összefûzve. ( 2015. December 30. - 17:34:49 )

U: Bocs megvan! Én idióta 2 link is van benne és a második volt a jó! Köszönöm

162
Szkript kérések / Legfrissebb PPC
« Dátum: 2015. December 30. - 16:59:52 »
Sziasztok valaki eltudja küldeni a legfrissebb PPC GM-et?

163
Segítségkérés / Ékezet írás
« Dátum: 2015. December 30. - 15:25:18 »
Idézetet írta: ƒeheristi97 date=1451485098\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58904\" data-ipsquote-contentclass=\"forums_Topic
töltsd le az új ppc módot.. minden egybe lett írva, semmi include nincs hozzá csak simán a mód.
 
meik a legújabb amit én találtam az v1-es mingy keresek linket meik az
U:http://forum.sa-mp.com/showthread.php?t=196493 ez lenne nekem és ebbe még inc-ek vannak

164
Segítségkérés / Ékezet írás
« Dátum: 2015. December 30. - 14:51:01 »
C:\\Documents and Settings\\Sanyika\\Asztal\\Új mappa (2)\\pawno\\include\\PPC_DefTexts.inc(1) : error 010: invalid function or declaration
C:\\Documents and Settings\\Sanyika\\Asztal\\Új mappa (2)\\pawno\\include\\PPC_PlayerCommands.inc(3292) : error 017: undefined symbol \"TXT_PlayerSelfSpectate\"
C:\\Documents and Settings\\Sanyika\\Asztal\\Új mappa (2)\\pawno\\include\\PPC_PlayerCommands.inc(3307) : error 017: undefined symbol \"TXT_PlayerSpectating\"
C:\\Documents and Settings\\Sanyika\\Asztal\\Új mappa (2)\\pawno\\include\\PPC_PlayerCommands.inc(3313) : error 017: undefined symbol \"TXT_PlayerNotSpawned\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
4 Errors.

 
Ez mi lenne?

165
Segítségkérés / Ékezet írás
« Dátum: 2015. December 30. - 14:39:39 »
Idézetet írta: Pedró date=1451482556\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58904\" data-ipsquote-contentclass=\"forums_Topic
ha végeztél a magyarosítással
mentsd másként a fájlt
beírod az adatokat
NE TXT LEGYEN
hanem alul írd át valami.inc re(ami a neve volt eredetileg)
és a karakterkészlet legyen UTF-8.
és  mented
felülírod a másikat
osztcsá


én is ugyanazt értelmeztem mint neked kellett volna
 
Köszönöm! Így már értem. És ezt notepad ++ al is megy?

Oldalak: 1 ... 9 10 [11] 12 13 ... 22
SimplePortal 2.3.7 © 2008-2024, SimplePortal