belépés elõtt jó volt?Igen. Elõtte minden. Még a housemenu-ben is tudok mindent csinálni, csak ha az exit house-ra megyek, akkor kirak a házból, de ott megfagy.
kéne az a parancs.. és segítennék! :)Mármint milyen parancs?
zsoca másold be a dialogresponse alatti részt ami a ház rendszerrel kapcsolatos vagy azt a részt ahol kilépsz a házból, ha nem látsz semmit akkor oda írd hogy : SetPlayerInterior(playerid,0);
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;
}
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;
}
Meg nem tudom, hogy ezzel segítek-e: [08:29:11] Script[gamemodes/PPC_Trucking.amx]: Run time error 19: \"File or function is not found\"[08:29:11] Script[gamemodes/PPC_Trucking.amx]: Run time error 19: \"File or function is not found\"[/quote]
ez általában akkor szokott elõ jönni ha nincs a gamemodeban a main () {} rész vagy nincs betöltve 1 plugin.
és próbáltad oda írni a house exit alá az object betöltönek a timerét?
sscanf és a streamer plugin be van töltve?
[11:39:27] Server Plugins
[11:39:27] --------------
[11:39:27] Loading plugin: sscanf
[11:39:27]
[11:39:27] ===============================
[11:39:27] sscanf plugin loaded.
[11:39:27] (c) 2009 Alex \"Y_Less\" Cole
[11:39:27] ===============================
[11:39:27] Loaded.
[11:39:27] Loading plugin: streamer
[11:39:27]
*** Streamer Plugin v2.5.2 by Incognito loaded ***
[11:39:27] Loaded.
[11:39:27] Loaded 2 plugins.
ez általában akkor szokott elõ jönni ha nincs a gamemodeban a main () {} rész vagy nincs betöltve 1 plugin.
és próbáltad oda írni a house exit alá az object betöltönek a timerét?
[/quote]
Sztem a gamemode-al nem lehet baj, mert mióta mûködött nem piszkáltam bele.
Vedd le újra.Mit vegyek le újra?
A módot. http://users.telenet.be/vge/downloads/PPC_Trucking6.zipEz megvan...van mûködõ modom, de azért akartam ezt használni, mert ez már majdnem teljesen magyar.
Cseréld ki azt az inc amiben van az exit parancs és fríssísd lehet az a hibás..Ez viszont nem rossz ötlet! :) Akkor 1 pillanat...(teszt).
Cseréld ki azt az inc amiben van az exit parancs és fríssísd lehet az a hibás..
[/quote]
Ez viszont nem rossz ötlet! :) Akkor 1 pillanat...(teszt).
[/quote]
.\\include\\sscanf2.inc(218) : warning 218: old style prototypes used with optional semicolumns
.\\include\\sscanf2.inc(278) : warning 218: old style prototypes used with optional semicolumns
Cseréljem újabbra az sscanf2.inc-et?
Szerintem igen, frissísd.. de az csak warning..Script[gamemodes/PPC_Trucking.amx]: Run time error 19: \"File or function is not
plugint is frissitetted?*** Streamer Plugin: Include file version (0) does not match plugin version (0x2
plugint is frissitetted?
[/quote]
*** Streamer Plugin: Include file version (0) does not match plugin version (0x2
6104) (script needs to be recompiled with the latest include file)
*** Streamer Plugin: Obsolete or invalid native found (script needs to be recomp
iled with the latest include file)
Script[gamemodes/PPC_Trucking.amx]: Run time error 19: \"File or function is not
found\"
[/quote]
Ez elvileg az volt, hogy futtassam le az új streamer és sscanf includeokkal a modot és úgy fognak mûködni az új pluginok, csakhogy nem engedi, errorokat dobál:
.\\include\\sscanf2.inc(218) : warning 218: old style prototypes used with optional semicolumns
.\\include\\sscanf2.inc(278) : warning 218: old style prototypes used with optional semicolumns
.\\include\\streamer.inc(156) : error 017: undefined symbol \"OBJECT_MATERIAL_SIZE_256x128\"
.\\include\\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol \"OnPlayerEditObject\")
.\\include\\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol \"OnPlayerSelectObject\")
.\\include\\streamer.inc(406) : error 017: undefined symbol \"SELECT_OBJECT_PLAYER_OBJECT\"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
töltsd le a legfrissebb pawnot.Egy linket tudnál adni?
töltsd le a legfrissebb pawnot.Mind1. Már nem kell. Mostmár sikerült lefuttatnom, de a szerver még mindíg azt írja.
Vedd le a PPC_Trucking modot és benne van a plugins mappában a pluginok! A pawno mappában meg a streamer.inc és a sscanf.inc frissísd a te szerveredben és menni fog neked már..Mostmár menni megy, de még mindíg nem javult semmit a témakezdésem óta, pedig megcsináltam mindent, amit mondtatok. :\'(
Van skyped? Add meg és segítek..MSN-em van. Az jó?
Igen.MSN: [email protected]
Igen.
[/quote]
Vagy vegyelek fel én?
[/quote]
[email protected]Felvettelek.