Ü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 - ZyZu.

Oldalak: 1 ... 213 214 [215] 216 217 ... 527
3211
Hangszerek és előadók / Mit hallgatsz most vol. 2
« Dátum: 2013. szeptember 22. - 12:13:19 »



3212
Kérdések, Segítség / XBOX 360/PS3 - Érdemes venni most?
« Dátum: 2013. szeptember 22. - 12:06:58 »
Én mind a kettõt ajánlom nagyon jó fõleg minden játékot tölteni lehet rá.. de szerintem XBOX sokkal jobb nekem 1 éve van már és nagyon tetszik.

3213
Segítségkérés / Pluginok
« Dátum: 2013. szeptember 22. - 11:40:43 »
Streamer plugint frissíteni kell, itt megtalálható a plugin és az include: http://forum.sa-mp.com/showthread.php?t=102865

3214
Segítségkérés / Pluginok
« Dátum: 2013. szeptember 22. - 10:43:54 »
Másold be a módnak az egész includejét.. vagyis belépsz a módba majd ott fent írja, hogy: #include .. és azt másold be.

3215
Segítségkérés / OnVehicleDeath
« Dátum: 2013. szeptember 22. - 00:45:57 »
Ez a függvény akkor hívódik meg amikor egy jármû felrobban.. ha nem robban akkor nem hívja elõ.

3216
Beszélgetés / Sharknado - Cápavihar
« Dátum: 2013. szeptember 21. - 22:55:26 »
Még nem láttam, de megnézem szeretem az ilyen filmeket..  ;)

3217
Általános / Milyen SA:MP szerverbe éri meg belekezdeni?
« Dátum: 2013. szeptember 21. - 22:52:39 »
samp szerver » jobb klikk » törlés » lomtár » törlés | szerintem a legjobb megoldás.  ;)

3218
Off Telep / Nagyon durva szívatás!
« Dátum: 2013. szeptember 21. - 22:50:34 »
Hát ez tényleg kemény. :D Sírok..  :laugh:

3219
RP/RPG kérések / Golyóálló mellény object a testre
« Dátum: 2013. szeptember 21. - 22:01:36 »
SetPlayerAttachedObject( playerid, 3, 373, 1, 0.3 ,-0.0 ,-0.1, 70.0, 25.0, 35.0 );

 
Probáld meg..

3220
SA-MP / Open.mp: Szerverfejlesztés / IKEA - Lakberendezõ v2.0 (Újraszkriptelve)
« Dátum: 2013. szeptember 21. - 21:58:39 »

Igen, rendesen leszerkesztem, kész a szerkesztés, mentem.Relogolok, és vissza áll alap spawnmódra, tehát szerkeszthetem újra
 
[/quote]
Letöltöttem, direkt megnéztem, nekem tökéletesen megyen semmi probléma nincs vele.. szerintem te nem csinálsz jól valamit.  ::|

3221
SA-MP / Open.mp: Szerverfejlesztés / Teleport
« Dátum: 2013. szeptember 21. - 21:57:13 »

persze..teszteltem :D viszont..mindegy, hogy public, vagy stock...nem? xd van különbség? xd
 
[/quote]
Nincs nagy külömbség, csak, hogy annak nem kell forward meg public.. hanem simán egy stock, de rövidebb a kód is. :)

3222
Hangszerek és előadók / Mit hallgatsz most vol. 2
« Dátum: 2013. szeptember 21. - 21:41:32 »

3223
Pluginok és Programok / FileManager 1.4 ( 2012 )
« Dátum: 2013. szeptember 21. - 21:33:23 »
Mi ez a fáljkezelõ?
- A filemanager az egy egyszerû plugin amely segítségével fáljt és mappát tudunk kezelni.
Nem csak szabványos PAWN API?
- Ellentétben a hagyományos SA-MP API nincs limitálva a scriptfiles mappában, ennél a pluginnál nincs limit!
Beépített Fúnkció
 
native file_move(file[],destination[]); // Fálj mozgása
native file_delete(file[]); // Fálj törlése
native file_create(file[]); // Fálj létrehozása
native file_write(file[],text[],mode[] = \"a\"); // Egy adott fáljba bízonyos karaktereket tudnunk írni.
native file_read(file[],storage[], sizeof(storage)); // Elmenti egy adott fáljba.
native file_log(); // Elmenti a logba.
native file_exists(file[]); // Lekérdezi a létezõ fáljt.
native File:f_open(file[], mode[] = \"r\"); // Megnyítja a beírt karaktert a fáljból.
native f_close(File:file); // Bezárja az adott fáljt.
native f_read(File:file, storage, sizeof(storage)); // Megnyítja az adott fáljt majd kiolvassa az adatokat.
native f_write(File:file, string[]); // Megnyítja majd adatokat tudunk a fáljba írni.
native dir_create(directory[]); // Új mappa létrehozás.
native dir_delete(directory[]); // Töröli a mappát, tejesen TÖRLÉS!
native dir_exists(directory[]); // Lekérdezi a létezõ mappát.
native dir:dir_open(directory[]);
native dir_close(dir:handle);
native dir_list(dir:handle, storage[], &type, length = sizeof(storage));

 
Dokumentáció Fúnkciói
 
/*
    Function: file_move(file[], destination[]);
    Description: Moves a specified file to the specified destination.
    Params:
            file[] - The name of the file to be moved.
            destination[] - The destination to move the file to, including the file name.
           
    Returns: True if success, false if not.
 
    Function: file_copy(file[], destination[]);
    Description: Copies a specified file to the specified destination.
    Params:
            file[] - The name of the file to be copied.
            destination[] - The new destination of the file to be copied to, including the file name.
           
    Returns: True if success, false if not.
 
    Function: file_delete(file[]);
    Description: Deletes a specified file.
    Params:
            file[] - The name of the file to be deleted.
           
    Returns: True if success, false if not.
 
    Function: file_create(file[]);
    Description: Creates a specified file.
    Params:
            file[] - The name of the file to be created.
           
    Returns: True if success, false if not.
 
    Function: file_write(file[], text[], mode[] = \"a\");
    Description: Writes a string to a specified file with the specified mode.
    Params:
            file[] - The name of the file to be written to.
            text[] - The string to write to the file.
            mode[] - The mode to use (doesn\'t need to be specified, will append by default, can be set otherwise)
           
    Returns: True if success, false if not.
 
    Function: file_read(file[], storage[], size = sizeof(storage));
    Description: Reads the entire file into a specified string.
    Params:
            file[] - The name of the file to be read into memory.
            storage[] - The array to store the read data in.
            size[] - The size of the storage array (used to prevent buffer overflows), no reason for you to specify it in practice.
           
    Returns: True if success, false if not.
 
    Function: file_log();
    Description: Will enable filemanager logging (prints information about file operations).
 
    Function: file_exists(file[]);
    Description: Checks if a specified file exists.
    Params:
            file[] - The name of the file to be checked for existence.
           
    Returns: True if success, false if not.
 
    Function: f_open(file[], mode[] = \"r\");
    Description: Opens a file for a reading operation.
    Params:
            file[] - The name of the file to be opened.
            mode[] (optional) - Specifies to mode to open the file in. \"a\" is append, \"w\" is write, \"r\" is read
           
    Returns: The file handle if success, else it returns false.
 
    Function: f_close(File: file);
    Description: Closes a file opened with f_open.
    Params:
            File:file - The handler of the file to be closed
    Returns: True if success, false if not.
 
    Function: f_read(File: file, storage[], size = sizeof(storage));
    Description: Reads from file that was opened by f_open line by line.
    Params:
            File:file - The handler of the file to be read from.
            storage[] - The string to store the read data from.
            size - This parameter does not need to be set by you.
           
    Returns: True if success, false if not.
    Function: f_write(File: file, string[]);
    Description: Writes to a file that has been opened with f_open
    Params:
            File:file - The handler of the file to be read from.
            string[] - The string to write to the file.
           
    Returns: True if success, false if not.
 
    Function: dir_create(directory[]);
    Description: Creates a directory.
    Params:
            directory[] - The path of the directory to be created.
           
    Returns: True if success, false if not.
 
    Function: dir_delete(directory[]);
    Description: Deletes a directory.
    Params:
            directory[] - The path of the directory to be deleted.
           
    Returns: True if success, false if not.
 
    Function: dir_exists(directory[]);
    Description: Checks if a directory exists
    Params:
            directory[] - The path of the directory to be deleted.
           
    Returns: 1 if it exists, 2 if it is a file and 0 if it does not exist.
 
    Function: dir:dir_open(directory[]);
    Description: Opens a directory
    Params:
            directory[] - The path of the directory to be opened.
           
    Returns: 1 if it exists, and 0 if it does not exist.
 
    Function: dir_close(dir:handle);
    Description: Closes a directory
    Params:
            dir:handle - The handle of the directory to close that was previously opened.
           
    Returns: Nothing.
 
    Function: dir_list(dir:handle, storage[], &type, length = sizeof(storage));
    Description: Reads through a directory, listing each file/sub-directory one by one.
    Params:
            dir:handle - The handle of the directory that is open to read from.
            storage[] - Where the name of the file/directory is stored.
            type - Where the type of directory is stored, can be either 1 or 2
            (optional) length - This is not needed unless you are passing an array without any length, in which case, use strlen with your array.
           
    Returns: 1 if there a sub-directory/file was found, 0 if there wasn\'t.
*/
// FM_DIR defines a directory and FM_FILE defines a file
// when using dir_list, these will be the types returned.
#define FM_DIR 1
#define FM_FILE 2

 
Példa használat
 
new dir:dHandle = dir_open(\"./\");
new item[40], type;
   
while(dir_list(dHandle, item, type))
{
    if(type == FM_FILE) printf(\"%s is a file\", item);
    else if(type == FM_DIR) printf(\"%s is a directory\", item);
}
       
dir_close(dHandle);

 
Az eredmények a logban mentve lesznek mivel automatikusan printeli!
Elfogadó operációs rendszer
- Windows
- Linux
Letöltés
\"image.php?name=FileManager\"
Példa szkript: http://pastebin.com/sqwFp9Xt
Köszönhetõ
G-sTyLeZzZ (Kód megírás)

Y_Less (Bug javítás)


- Eredeti link:
http://forum.sa-mp.com/showthread.php?t=92246

3224
SA-MP / Open.mp: Szerverfejlesztés / Peter Frakció Rendszer
« Dátum: 2013. szeptember 21. - 21:12:36 »
Sok a pazarlás..

Sok ember már nem használja a TEAM változókat mivel van annál jobb és gyorsabb, probáld átírni az egészet PVar -ra sokkal jobb és átláthatóbb szerintem még a regisztráció sem szükséges hozzá. De azért jó lett.  ;)

3225
SA-MP / Open.mp: Szerverfejlesztés / Teleport
« Dátum: 2013. szeptember 21. - 21:06:50 »
Ennyi erõvel már egy stockot is lehet használni, így nem kell semmi public és forwardot definálni. | Egyébként tesztelted te ezt? :)
 

stock teleport( playerid, teleport[ ], parancs[ ] )
{
        new pName[ MAX_PLAYER_NAME ];
        GetPlayerName( playerid, pName, sizeof( tName ));
        new sstring[ 128 + 1 ];
        format( sstring, sizeof( sstring ), \"[TELEPORT] %s elment %s! (%s)\",pName, teleport, parancs);
        SendClientMessageToAll( -1 , sstring );
        return 1;
}

Oldalak: 1 ... 213 214 [215] 216 217 ... 527
SimplePortal 2.3.7 © 2008-2026, SimplePortal