Jump to content
Prosíme všetkých užívateľov, ktorý sa chcú opätovne pripojiť na discord aby znovu spárovali svoje účty kliknutím na "Discord" v navigácií a pripojili sa na server Read more... ×

Affan

Uživatel
  • Příspěvků

    7
  • Registrován

  • Aktivní

Reputace

2 Jonny Sindacco

About Affan

  • Moto
    Bronze II - nováček

Návštěvníci

The recent visitors block is disabled and is not being shown to other users.

  1. Affan

    pomoc nastavenie

    new HitSound[MAX_PLAYERS]; CMD:nastavenia(playerid){ new String[100]; strcat(String,"Nastavenia\tOn/Off\n"); if(HitSound[playerid] == 0) return strcat(String,""w"Hitsound\t\t\t\t"g"Zapnutý\n"); else strcat(String,""w"Hitsound\t\t\t\t"r"Vypnutý"); ShowPlayerDialog(playerid,DIALOG_NASTAVENIA,DIALOG_STYLE_TABLIST_HEADERS,"Nastavenia",String,"Vybrať","Zavrieť"); return 1; } public OnDialogResponse(playerid,dialogid,response,listitem,inputtext[]){ if(dialogid == DIALOG_NASTAVENIA){ if(response){ switch(listitem){ case 0: cmd_hit(playerid); } } return 1; } return 1; } Tady mas taky mensi priklad nechce sa mi to robit cele uz dufam ze som pomohol aspon trocha
  2. Affan

    gamemode [Ukázka] TextDraw

    Daj to na server chceme to vidiet
  3. Affan

    pomoc TextDraw

  4. Affan

    pomoc Chyba v kodu.

    Tak si zaobstaraj prosim pekne #include <izcmd> a prikazy ti budu fungovat jasne a zretelne. Rovno ti ho sem dam aby si nemarnil cas vyhladavanim lebo viem ze nemas cas na taketo blbosticky. #include <izcmd> CMD:prikaz(playerid,params[]){ ShowPlayerDialog(playerid,DIALOG_ID,DIALOG_STYLE_MSGBOX,"Blablabla","Blablabla:)","Vybrať","Zatvoriť"); return 1; } izcmd.inc
  5. Affan

    pomoc Chyba v kodu.

    public OnPlayerCommandPerformed(playerid,cmdtext[],success){ if(!success){ new String[128]; format(String,sizeof(String),"SERVER: Príkaz %s neexistuje -> /help",cmdtext); SendClientMessage(playerid,-1,String); } return 1; }
  6. Affan

    pomoc Chcem System Banka

  7. Affan

    pomoc Hledám Script na MP3

    #include <a_samp> #include <sscanf> #define public2:%0(%1) forward %0(%1); public %0(%1) new Astream = 0; CMD:hudba(playerid, params[]){ new url[100],String[100]; if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFF0000FF,"[ ! ] {FFFFFF}Pre tento príkaz nemáš oprávnenie."); else if(Astream == 1) return SendClientMessage(playerid,0xFF0000FF,"[ ! ] {FFFFFF}Na servery sa práve jeden Audio Stream prehráva."); else if(sscanf(params,"u",url)) return SendClientMessage(playerid,0xFF0000FF,"[ ! ] {FFFFFF}Použitie: {FF0000}/astream [ url ]"); for(new i = 0; i < MAX_PLAYERS; i++){ PlayAudioStreamForPlayer(i, url), Astream = 1, SetTimer("AudioStream",5*1000,false); // - 5 Minutový timer } format(String, sizeof(String), "Administrátor %s prehral Audio Stream pre celý server.", Meno(playerid)); SendClientMessageToAll(0xFF0000FF,String); return 1; } public2: AudioStream(playerid) return Astream = 0; stock Meno(playerid){ new pName[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, pName, sizeof(pName)); return pName; }
×