Jump to content

Eddu

Membru
  • Posts

    46
  • Joined

  • Last visited

Posts posted by Eddu

  1. [glow=white,2,300]PlayAudioStreamForPlayer[/glow]

    La cererea lui s1n3d_28 am facut un tutorial care il poate ajuta la OnPlayerRequestSpawn.

    Parametrii functie:

    [pawn]PlayAudioStreamForPlayer(playerid, url[], Float:posX, Float:posY, Float:posZ , Float:distance, usepos)[/pawn]

    Unde:

    playerid- Id-ul Player-ului caruia ii se va auzii melodia.

    url[] -  Link-ul catre melodie

    Float:posX, Float:posY, etc. nu iti trebuiesc pentru ce ai tu nevoie.

    Si cam ce ai vrea tu sa fie:

    [pawn]public OnPlayerConnect(playerid)

    {

        PlayAudioStreamForPlayer(playerid,"URL");

        return 1;

    }[/pawn]

    Iar ca sa oprim sunetul:

    [pawn]public OnPlayerSpawn(playerid)

    {

        StopAudioStreamForPlayer(playerid);

        return 1;

    }[/pawn]

    Sper ca ti-am fost de folos! :D

    • Upvote 1
  2. Niciodata nu as baga in server o asemenea comanda. De ce? Pentru ca daca o pun vine playerul X si imi spune ca vrea melodia aia, sau vine player-ul Y si imi spune ca melodiile sunt invechite. Astfel, am /radio unde au toate genurile de muzica posibile si imposibile si reactualizate.

  3. [glow=white,2,300]• Pick-Up Event •[/glow]

    Version 1

    Ce este acest FS?

    Un Filterscript asemanator cu un StarEvent doar ca cu mai multe Pick-up-uri:

    Comenzi:

    /event - Da drumul la event

    /endevent - Termina Eventul

    Poze:

    Announce-ul care va aparea cand cineva va gasii pick-up-ul:

    announce.png

    Comanda /event:

    sa_mp_348.png

    Creators:

    [XSS]Eddu.

    [XSS]Seby

    Other credits:

    ZeeX - Command Processor

    SA:MP Team

    Download:

    PasteBin: http://pastebin.com/raS9gA8m

    SolidFiles: http://www.solidfiles.com/d/3bbd3f57ff/Event.pwn

    Planuri pentru V2

    Schimbarea dialog-ului cu Clickable TextDraw

    Adaugarea mai multor pick-up-uri.

    *Tin sa precizez ca acesta este primul meu FilterScript si nu accept recenzii negative gen "Inutil", "Prea usor", etc.

  4. De cand am updatat server-ul la 0.3z R2 primesc ban.

    Server log:

    [14:13:20] Warning: client exceeded 'ackslimit' IP (1044) Limit: 1000/sec

    ...

    [14:13:33] [part] Eddu.xD has left the server (0:0)

  5. Salut!

    Am si eu o problema la mysql.Nu imi detecteaza gamemode-ul.Ramane mereu unknown.

    ----------

    Loaded log file: "server_log.txt".

    ----------

    SA-MP Dedicated Server

    ----------------------

    v0.3z, ©2005-2014 SA-MP Team

    [16:31:19]

    [16:31:19] Server Plugins

    [16:31:19] --------------

    [16:31:19]  Loading plugin: streamer.so

    [16:31:19]

    *** Streamer Plugin v2.6.1 by Incognito loaded ***

    [16:31:19]  Loaded.

    [16:31:19]  Loading plugin: sscanf.so

    [16:31:19]

    [16:31:19]  ===============================

    [16:31:19]      sscanf plugin loaded.   

    [16:31:19]          Version:  2.8.1       

    [16:31:19]    © 2012 Alex "Y_Less" Cole 

    [16:31:19]  ===============================

    [16:31:19]  Loaded.

    [16:31:19]  Loading plugin: mysql.so

    [16:31:19]  Failed (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference)

    [16:31:19]  Loading plugin: gvar.so

    [16:31:19]

    *** GVar Plugin v1.3 by Incognito loaded ***

    [16:31:19]  Loaded.

    [16:31:19]  Loading plugin: whirlpool.so

    [16:31:19]  Failed (plugins/whirlpool.so: cannot open shared object file: No such file or directory)

    [16:31:19]  Loading plugin: crashdetect.so

    [16:31:19]  CrashDetect v4.12 is OK.

    [16:31:19]  Loaded.

    [16:31:19]  Loaded 4 plugins.

    [16:31:19]

    [16:31:19] Filterscripts

    [16:31:19] ---------------

    [16:31:19]  Loading filterscript 'Objects1.amx'...

    [16:31:19]  Unable to load filterscript 'Objects1.amx'.

    [16:31:19]  Loading filterscript 'GangBase.amx'...

    [16:31:19]  Unable to load filterscript 'GangBase.amx'.

    [16:31:19]  Loaded 0 filterscripts.

    [16:31:19] [debug] Run time error 19: "File or function is not found"

    [16:31:19] [debug]  cache_get_row_count

    [16:31:19] [debug]  mysql_tquery

    [16:31:19] [debug]  mysql_format

    [16:31:19] [debug]  mysql_close

    [16:31:19] [debug]  mysql_log

    [16:31:19] [debug]  mysql_connect

    [16:31:19] [debug]  mysql_escape_string

    [16:31:19] [debug]  WP_Hash

    [16:31:19] [debug]  cache_get_data

    [16:31:19] [debug]  cache_get_field_content

    [16:31:19] [debug]  cache_get_field_content_int

    [16:31:19] [debug]  cache_get_field_content_float

    [16:31:19] [debug]  cache_insert_id

    [16:31:19] [debug] Run time error 19: "File or function is not found"

    [16:31:19] [debug]  cache_get_row_count

    [16:31:19] [debug]  mysql_tquery

    [16:31:19] [debug]  mysql_format

    [16:31:19] [debug]  mysql_close

    [16:31:19] [debug]  mysql_log

    [16:31:19] [debug]  mysql_connect

    [16:31:19] [debug]  mysql_escape_string

    [16:31:19] [debug]  WP_Hash

    [16:31:19] [debug]  cache_get_data

    [16:31:19] [debug]  cache_get_field_content

    [16:31:19] [debug]  cache_get_field_content_int

    [16:31:19] [debug]  cache_get_field_content_float

    [16:31:19] [debug]  cache_insert_id

    [16:31:19] Script[gamemodes/GM.amx]: Run time error 19: "File or function is not found"

    [16:31:19] Number of vehicle models: 0

    [16:31:29] New version of CrashDetect is available for download (4.13)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.