Právě je úte 22. kvě 2012 10:11:33
Hosting WEDOS.cz
SLEVA 25% (slevový kód:PAWNO25)

Nejnovější témata:
[HELP] NHL 09 od MajkX
[Hlasovanie] Pridanie teamov do PICH od MajkX
[Ms 2012] NHL 2009 Remake od MajkX
[ HELP ]NPC od UpiR
[HELP]Hackovanie servera od kazlik

Vyzkoušejte antivirus ESET Smart Security 5

Vyhledat témata bez odpovědí | Zobrazit aktivní témata Zobrazit nové příspěvky | Zobrazit vaše příspěvky


Všechny časy jsou v UTC + 1 hodina [ Letní čas ]





Odeslat nové téma Odpovědět na téma  [ Příspěvků: 9 ] 
Autor Zpráva
 Předmět příspěvku: [HELP] Include Mchat
PříspěvekNapsal: stř 30. lis 2011 11:43:53 
T - Bone Mendez
T - Bone Mendez
Registrován: pon 29. lis 2010 15:39:46
Příspěvky: 75

Cau stahl sem si Include mChat do SA-MP je to externi chat co ma rze8.1 nebo co ma UWAC ale rad bych vedel jak mam neco vypsat do toho mChatu... Proste pouziti
Zde jsou radky mChatu dekuji za kazdou radu ;)

Kód:
/*
         MiniChat INC by William
*/
#if defined _BCL_included
   #endinput
#endif

#define _BCL_included
#pragma library BCL
#pragma tabsize 0

#include <a_samp>

#define OnStringFilterScriptInit OnFilterScriptInit

new Text:TextDraw[5];
new text_chat5[150];
new text_chat4[150];
new text_chat3[150];
new text_chat2[150];
new text_chat1[150];

public OnStringFilterScriptInit()
{
   TextDraw[0] = TextDrawCreate(415,265,"_");
   TextDrawLetterSize(TextDraw[0],0.199999,1.200000);
   TextDrawAlignment(TextDraw[0],0);
   TextDrawBackgroundColor(TextDraw[0],0x000000FF);
   TextDrawFont(TextDraw[0],1);
   TextDrawUseBox(TextDraw[0],0);
   TextDrawSetOutline(TextDraw[0],1);
   TextDrawSetProportional(TextDraw[0],1);
   TextDrawSetShadow(TextDraw[0],1);

        TextDraw[1] = TextDrawCreate(415,279,"_");
   TextDrawLetterSize(TextDraw[1],0.199999,1.200000);
   TextDrawAlignment(TextDraw[1],0);
   TextDrawBackgroundColor(TextDraw[1],0x000000FF);
   TextDrawFont(TextDraw[1],1);
   TextDrawUseBox(TextDraw[1],0);
   TextDrawSetOutline(TextDraw[1],1);
   TextDrawSetProportional(TextDraw[1],1);
   TextDrawSetShadow(TextDraw[1],1);

        TextDraw[2] = TextDrawCreate(415,293,"_");
   TextDrawLetterSize(TextDraw[2],0.199999,1.200000);
   TextDrawAlignment(TextDraw[2],0);
   TextDrawBackgroundColor(TextDraw[2],0x000000FF);
   TextDrawFont(TextDraw[2],1);
   TextDrawUseBox(TextDraw[2],0);
   TextDrawSetOutline(TextDraw[2],1);
   TextDrawSetProportional(TextDraw[2],1);
   TextDrawSetShadow(TextDraw[2],1);

        TextDraw[3] = TextDrawCreate(415,307,"_");
   TextDrawLetterSize(TextDraw[3],0.199999,1.200000);
   TextDrawAlignment(TextDraw[3],0);
   TextDrawBackgroundColor(TextDraw[3],0x000000FF);
   TextDrawFont(TextDraw[3],1);
   TextDrawUseBox(TextDraw[3],0);
   TextDrawSetOutline(TextDraw[3],1);
   TextDrawSetProportional(TextDraw[3],1);
   TextDrawSetShadow(TextDraw[3],1);

        TextDraw[4] = TextDrawCreate(415,321,"_");
   TextDrawLetterSize(TextDraw[4],0.199999,1.200000);
   TextDrawAlignment(TextDraw[4],0);
   TextDrawBackgroundColor(TextDraw[4],0x000000FF);
   TextDrawFont(TextDraw[4],1);
   TextDrawUseBox(TextDraw[4],0);
   TextDrawSetOutline(TextDraw[4],1);
   TextDrawSetProportional(TextDraw[4],1);
   TextDrawSetShadow(TextDraw[4],1);
   return 1;
}

/*
native AddStringToTextDraw(const message[]);
*/
stock AddStringToTextDraw(textchat[150])
{
   text_chat5 = text_chat4;
   TextDrawSetString(TextDraw[4], text_chat5);
   text_chat4 = text_chat3;
   TextDrawSetString(TextDraw[3], text_chat4);
   text_chat3 = text_chat2;
   TextDrawSetString(TextDraw[2], text_chat3);
   text_chat2 = text_chat1;
   TextDrawSetString(TextDraw[1], text_chat2);
   text_chat1 = textchat;
   TextDrawSetString(TextDraw[0], text_chat1);
}


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: stř 30. lis 2011 18:28:14 
Frank Tempenny
Frank Tempenny
Registrován: sob 10. led 2009 22:02:03
Příspěvky: 1614

AddStringToTextDraw(const message[]);
Jinak mam svuj VEDLEJSI chat :D brzy z neho bude asi jen admin hlasic :D

_________________
Poděkujte :
Daffymu za ukradení a zveřejnění rze6, rze7, rze7.3, rze7.4
Luk_assovi za cracknuti rze7.3 rze7.4 rze8
Crispemu za to že to luk_assovi zaplatil. A zveřejnil cracklou rze8
cz_dominik007 za to že zveřejnil craknutou rze7.3 rze7.4
Získání rze8 zatím neni úplně jasné bylo to z přestupu z cpor.eu na (stary) xel.cz

play.superparba.eu:7777
http://www.superparba.eu


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: čtv 01. pro 2011 11:09:38 
T - Bone Mendez
T - Bone Mendez
Registrován: pon 29. lis 2010 15:39:46
Příspěvky: 75

ATomas píše:
AddStringToTextDraw(const message[]);
Jinak mam svuj VEDLEJSI chat :D brzy z neho bude asi jen admin hlasic :D

Dík... Tvuj vedlejsi chat bys asi neposlal ze ? :D


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: čtv 01. pro 2011 13:48:05 
Marc Wayne "B-Dup"
Marc Wayne "B-Dup"
Registrován: ned 20. bře 2011 20:54:01
Příspěvky: 728
Bydliště: Brandýs n. L.

vahalaondra píše:
Spoiler:
Cau stahl sem si Include mChat do SA-MP je to externi chat co ma rze8.1 nebo co ma UWAC ale rad bych vedel jak mam neco vypsat do toho mChatu... Proste pouziti
Zde jsou radky mChatu dekuji za kazdou radu ;)

Kód:
/*
         MiniChat INC by William
*/
#if defined _BCL_included
   #endinput
#endif

#define _BCL_included
#pragma library BCL
#pragma tabsize 0

#include <a_samp>

#define OnStringFilterScriptInit OnFilterScriptInit

new Text:TextDraw[5];
new text_chat5[150];
new text_chat4[150];
new text_chat3[150];
new text_chat2[150];
new text_chat1[150];

public OnStringFilterScriptInit()
{
   TextDraw[0] = TextDrawCreate(415,265,"_");
   TextDrawLetterSize(TextDraw[0],0.199999,1.200000);
   TextDrawAlignment(TextDraw[0],0);
   TextDrawBackgroundColor(TextDraw[0],0x000000FF);
   TextDrawFont(TextDraw[0],1);
   TextDrawUseBox(TextDraw[0],0);
   TextDrawSetOutline(TextDraw[0],1);
   TextDrawSetProportional(TextDraw[0],1);
   TextDrawSetShadow(TextDraw[0],1);

        TextDraw[1] = TextDrawCreate(415,279,"_");
   TextDrawLetterSize(TextDraw[1],0.199999,1.200000);
   TextDrawAlignment(TextDraw[1],0);
   TextDrawBackgroundColor(TextDraw[1],0x000000FF);
   TextDrawFont(TextDraw[1],1);
   TextDrawUseBox(TextDraw[1],0);
   TextDrawSetOutline(TextDraw[1],1);
   TextDrawSetProportional(TextDraw[1],1);
   TextDrawSetShadow(TextDraw[1],1);

        TextDraw[2] = TextDrawCreate(415,293,"_");
   TextDrawLetterSize(TextDraw[2],0.199999,1.200000);
   TextDrawAlignment(TextDraw[2],0);
   TextDrawBackgroundColor(TextDraw[2],0x000000FF);
   TextDrawFont(TextDraw[2],1);
   TextDrawUseBox(TextDraw[2],0);
   TextDrawSetOutline(TextDraw[2],1);
   TextDrawSetProportional(TextDraw[2],1);
   TextDrawSetShadow(TextDraw[2],1);

        TextDraw[3] = TextDrawCreate(415,307,"_");
   TextDrawLetterSize(TextDraw[3],0.199999,1.200000);
   TextDrawAlignment(TextDraw[3],0);
   TextDrawBackgroundColor(TextDraw[3],0x000000FF);
   TextDrawFont(TextDraw[3],1);
   TextDrawUseBox(TextDraw[3],0);
   TextDrawSetOutline(TextDraw[3],1);
   TextDrawSetProportional(TextDraw[3],1);
   TextDrawSetShadow(TextDraw[3],1);

        TextDraw[4] = TextDrawCreate(415,321,"_");
   TextDrawLetterSize(TextDraw[4],0.199999,1.200000);
   TextDrawAlignment(TextDraw[4],0);
   TextDrawBackgroundColor(TextDraw[4],0x000000FF);
   TextDrawFont(TextDraw[4],1);
   TextDrawUseBox(TextDraw[4],0);
   TextDrawSetOutline(TextDraw[4],1);
   TextDrawSetProportional(TextDraw[4],1);
   TextDrawSetShadow(TextDraw[4],1);
   return 1;
}

/*
native AddStringToTextDraw(const message[]);
*/
stock AddStringToTextDraw(textchat[150])
{
   text_chat5 = text_chat4;
   TextDrawSetString(TextDraw[4], text_chat5);
   text_chat4 = text_chat3;
   TextDrawSetString(TextDraw[3], text_chat4);
   text_chat3 = text_chat2;
   TextDrawSetString(TextDraw[2], text_chat3);
   text_chat2 = text_chat1;
   TextDrawSetString(TextDraw[1], text_chat2);
   text_chat1 = textchat;
   TextDrawSetString(TextDraw[0], text_chat1);
}


dobrý ale kdyby si sis to udelal sam tak bys to pochopil tohle je stazeno z ulozto :)

_________________
Kdo si lítá na Flight Simulatoru X: Accleration


Ať mě kontaktuje zalítáme ;) :D

Obrázek


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: čtv 01. pro 2011 14:49:12 
T - Bone Mendez
T - Bone Mendez
Registrován: pon 29. lis 2010 15:39:46
Příspěvky: 75

Hip píše:
vahalaondra píše:
Spoiler:
Cau stahl sem si Include mChat do SA-MP je to externi chat co ma rze8.1 nebo co ma UWAC ale rad bych vedel jak mam neco vypsat do toho mChatu... Proste pouziti
Zde jsou radky mChatu dekuji za kazdou radu ;)

Kód:
/*
         MiniChat INC by William
*/
#if defined _BCL_included
   #endinput
#endif

#define _BCL_included
#pragma library BCL
#pragma tabsize 0

#include <a_samp>

#define OnStringFilterScriptInit OnFilterScriptInit

new Text:TextDraw[5];
new text_chat5[150];
new text_chat4[150];
new text_chat3[150];
new text_chat2[150];
new text_chat1[150];

public OnStringFilterScriptInit()
{
   TextDraw[0] = TextDrawCreate(415,265,"_");
   TextDrawLetterSize(TextDraw[0],0.199999,1.200000);
   TextDrawAlignment(TextDraw[0],0);
   TextDrawBackgroundColor(TextDraw[0],0x000000FF);
   TextDrawFont(TextDraw[0],1);
   TextDrawUseBox(TextDraw[0],0);
   TextDrawSetOutline(TextDraw[0],1);
   TextDrawSetProportional(TextDraw[0],1);
   TextDrawSetShadow(TextDraw[0],1);

        TextDraw[1] = TextDrawCreate(415,279,"_");
   TextDrawLetterSize(TextDraw[1],0.199999,1.200000);
   TextDrawAlignment(TextDraw[1],0);
   TextDrawBackgroundColor(TextDraw[1],0x000000FF);
   TextDrawFont(TextDraw[1],1);
   TextDrawUseBox(TextDraw[1],0);
   TextDrawSetOutline(TextDraw[1],1);
   TextDrawSetProportional(TextDraw[1],1);
   TextDrawSetShadow(TextDraw[1],1);

        TextDraw[2] = TextDrawCreate(415,293,"_");
   TextDrawLetterSize(TextDraw[2],0.199999,1.200000);
   TextDrawAlignment(TextDraw[2],0);
   TextDrawBackgroundColor(TextDraw[2],0x000000FF);
   TextDrawFont(TextDraw[2],1);
   TextDrawUseBox(TextDraw[2],0);
   TextDrawSetOutline(TextDraw[2],1);
   TextDrawSetProportional(TextDraw[2],1);
   TextDrawSetShadow(TextDraw[2],1);

        TextDraw[3] = TextDrawCreate(415,307,"_");
   TextDrawLetterSize(TextDraw[3],0.199999,1.200000);
   TextDrawAlignment(TextDraw[3],0);
   TextDrawBackgroundColor(TextDraw[3],0x000000FF);
   TextDrawFont(TextDraw[3],1);
   TextDrawUseBox(TextDraw[3],0);
   TextDrawSetOutline(TextDraw[3],1);
   TextDrawSetProportional(TextDraw[3],1);
   TextDrawSetShadow(TextDraw[3],1);

        TextDraw[4] = TextDrawCreate(415,321,"_");
   TextDrawLetterSize(TextDraw[4],0.199999,1.200000);
   TextDrawAlignment(TextDraw[4],0);
   TextDrawBackgroundColor(TextDraw[4],0x000000FF);
   TextDrawFont(TextDraw[4],1);
   TextDrawUseBox(TextDraw[4],0);
   TextDrawSetOutline(TextDraw[4],1);
   TextDrawSetProportional(TextDraw[4],1);
   TextDrawSetShadow(TextDraw[4],1);
   return 1;
}

/*
native AddStringToTextDraw(const message[]);
*/
stock AddStringToTextDraw(textchat[150])
{
   text_chat5 = text_chat4;
   TextDrawSetString(TextDraw[4], text_chat5);
   text_chat4 = text_chat3;
   TextDrawSetString(TextDraw[3], text_chat4);
   text_chat3 = text_chat2;
   TextDrawSetString(TextDraw[2], text_chat3);
   text_chat2 = text_chat1;
   TextDrawSetString(TextDraw[1], text_chat2);
   text_chat1 = textchat;
   TextDrawSetString(TextDraw[0], text_chat1);
}


dobrý ale kdyby si sis to udelal sam tak bys to pochopil tohle je stazeno z ulozto :)

On tady někdo říkal že jsem si to dělal sám ? :D No já tuhle věc definitivně nepochopil :D


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: čtv 01. pro 2011 15:23:33 

nevim jestli to od ATomase pochopíš >>spoiler


Spoiler:
Kód:
new text[150];
        
format(textsizeof(text), "Bla bla bla bla(ID%d)"playerid);
        
AddStringToTextDraw(text); 


  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: čtv 01. pro 2011 16:46:48 
Marc Wayne "B-Dup"
Marc Wayne "B-Dup"
Registrován: ned 20. bře 2011 20:54:01
Příspěvky: 728
Bydliště: Brandýs n. L.

vahalaondra píše:
Hip píše:
vahalaondra píše:
Spoiler:
Cau stahl sem si Include mChat do SA-MP je to externi chat co ma rze8.1 nebo co ma UWAC ale rad bych vedel jak mam neco vypsat do toho mChatu... Proste pouziti
Zde jsou radky mChatu dekuji za kazdou radu ;)

Kód:
/*
         MiniChat INC by William
*/
#if defined _BCL_included
   #endinput
#endif

#define _BCL_included
#pragma library BCL
#pragma tabsize 0

#include <a_samp>

#define OnStringFilterScriptInit OnFilterScriptInit

new Text:TextDraw[5];
new text_chat5[150];
new text_chat4[150];
new text_chat3[150];
new text_chat2[150];
new text_chat1[150];

public OnStringFilterScriptInit()
{
   TextDraw[0] = TextDrawCreate(415,265,"_");
   TextDrawLetterSize(TextDraw[0],0.199999,1.200000);
   TextDrawAlignment(TextDraw[0],0);
   TextDrawBackgroundColor(TextDraw[0],0x000000FF);
   TextDrawFont(TextDraw[0],1);
   TextDrawUseBox(TextDraw[0],0);
   TextDrawSetOutline(TextDraw[0],1);
   TextDrawSetProportional(TextDraw[0],1);
   TextDrawSetShadow(TextDraw[0],1);

        TextDraw[1] = TextDrawCreate(415,279,"_");
   TextDrawLetterSize(TextDraw[1],0.199999,1.200000);
   TextDrawAlignment(TextDraw[1],0);
   TextDrawBackgroundColor(TextDraw[1],0x000000FF);
   TextDrawFont(TextDraw[1],1);
   TextDrawUseBox(TextDraw[1],0);
   TextDrawSetOutline(TextDraw[1],1);
   TextDrawSetProportional(TextDraw[1],1);
   TextDrawSetShadow(TextDraw[1],1);

        TextDraw[2] = TextDrawCreate(415,293,"_");
   TextDrawLetterSize(TextDraw[2],0.199999,1.200000);
   TextDrawAlignment(TextDraw[2],0);
   TextDrawBackgroundColor(TextDraw[2],0x000000FF);
   TextDrawFont(TextDraw[2],1);
   TextDrawUseBox(TextDraw[2],0);
   TextDrawSetOutline(TextDraw[2],1);
   TextDrawSetProportional(TextDraw[2],1);
   TextDrawSetShadow(TextDraw[2],1);

        TextDraw[3] = TextDrawCreate(415,307,"_");
   TextDrawLetterSize(TextDraw[3],0.199999,1.200000);
   TextDrawAlignment(TextDraw[3],0);
   TextDrawBackgroundColor(TextDraw[3],0x000000FF);
   TextDrawFont(TextDraw[3],1);
   TextDrawUseBox(TextDraw[3],0);
   TextDrawSetOutline(TextDraw[3],1);
   TextDrawSetProportional(TextDraw[3],1);
   TextDrawSetShadow(TextDraw[3],1);

        TextDraw[4] = TextDrawCreate(415,321,"_");
   TextDrawLetterSize(TextDraw[4],0.199999,1.200000);
   TextDrawAlignment(TextDraw[4],0);
   TextDrawBackgroundColor(TextDraw[4],0x000000FF);
   TextDrawFont(TextDraw[4],1);
   TextDrawUseBox(TextDraw[4],0);
   TextDrawSetOutline(TextDraw[4],1);
   TextDrawSetProportional(TextDraw[4],1);
   TextDrawSetShadow(TextDraw[4],1);
   return 1;
}

/*
native AddStringToTextDraw(const message[]);
*/
stock AddStringToTextDraw(textchat[150])
{
   text_chat5 = text_chat4;
   TextDrawSetString(TextDraw[4], text_chat5);
   text_chat4 = text_chat3;
   TextDrawSetString(TextDraw[3], text_chat4);
   text_chat3 = text_chat2;
   TextDrawSetString(TextDraw[2], text_chat3);
   text_chat2 = text_chat1;
   TextDrawSetString(TextDraw[1], text_chat2);
   text_chat1 = textchat;
   TextDrawSetString(TextDraw[0], text_chat1);
}


dobrý ale kdyby si sis to udelal sam tak bys to pochopil tohle je stazeno z ulozto :)

On tady někdo říkal že jsem si to dělal sám ? :D No já tuhle věc definitivně nepochopil :D


skus chápat a pochopíš :) kazdej chce delat profi mody a v pawnu umí ho*no tak kopiruje...

_________________
Kdo si lítá na Flight Simulatoru X: Accleration


Ať mě kontaktuje zalítáme ;) :D

Obrázek


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: pon 13. úno 2012 22:43:26 
Nováček
Nováček
Registrován: pon 15. srp 2011 22:58:18
Příspěvky: 1

Čau chtěl bych se zeptat jestli si vyřešil problém s mchatem jak se do nej může něco přidat?Ja to mam takhle
new hrac[150];
format
(hrac, sizeof
(hrac), "hrac %s se odwartoval do san fierra",hrac,playerid);
AddStringToTextDraw
(hrac);

a stéjně mi to vubec nic nenapsalo nevis kde bych mohl mit chybu?
Ps:mam tam uplně ten samy includ jako ty


Offline
 Profil  
 Předmět příspěvku: Re: [HELP] Include Mchat
PříspěvekNapsal: pon 13. úno 2012 23:04:44 
Marc Wayne "B-Dup"
Marc Wayne "B-Dup"
Uživatelský avatar
Registrován: úte 22. úno 2011 16:51:43
Příspěvky: 623
Bydliště: Chánov

malos píše:
Čau chtěl bych se zeptat jestli si vyřešil problém s mchatem jak se do nej může něco přidat?Ja to mam takhle
new hrac[150];
format
(hrac, sizeof
(hrac), "hrac %s se odwartoval do san fierra",hrac,playerid);
AddStringToTextDraw
(hrac);

a stéjně mi to vubec nic nenapsalo nevis kde bych mohl mit chybu?
Ps:mam tam uplně ten samy includ jako ty

format(hrac,sizeof(hrac),"Hrac %s se warpnul do SF", hrac);
AddStringToTextDraw(hrac);

ale pravdepodobně nemáš v onplayerconnect TextDrawShowForPlayer

_________________
Nenávidím Windows ! Linux je nej !ObrázekObrázek


Offline
 Profil  
Zobrazit příspěvky za předchozí:  Seřadit podle  
Odeslat nové téma Odpovědět na téma  [ Příspěvků: 9 ] 

Všechny časy jsou v UTC + 1 hodina [ Letní čas ]


 Kdo je online

Uživatelé procházející toto fórum: danCo_


Nemůžete zakládat nová témata v tomto fóru
Nemůžete odpovídat v tomto fóru
Nemůžete upravovat své příspěvky v tomto fóru
Nemůžete mazat své příspěvky v tomto fóru
Nemůžete přikládat soubory v tomto fóru

Hledat:
Přejít na: