Ü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 - Flash

Oldalak: 1 ... 261 262 [263] 264 265 ... 318
3931
SA-MP: Szerverfejlesztés / 3in1 script
« Dátum: 2012. május 14. - 16:14:06 »
Idézetet írta: #Nexus# date=1337004482\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"21444\" data-ipsquote-contentclass=\"forums_Topic
Most ez a divat hogy áthozunk hiv. fórumról ide cuccokat ?
 
Hát semmi értelme, mert mindenki jár hivatalos fórumra, szóval én se értem..

3932
Segítségkérés / Nem értem.... Admin szoli gondok
« Dátum: 2012. május 14. - 16:09:49 »
#include <a_samp>
#include <zcmd>
#define COLOR_RED 0xff0000AA
new string[128];
new neve[MAX_PLAYER_NAME];
CMD:adminbelep(playerid, params[])
{
    if (IsPlayerAdmin(playerid)) //ezt kicseréled a luxadminosra
    {
       SetPlayerSkin(playerid, 217);
        new Text3D:asz = Create3DTextLabel(\"Admin Szolgálatban\", COLOR_RED, 0.0, 0.0, 2.0, 40, 0, 0);
        Attach3DTextLabelToPlayer(asz, playerid, 0.0, 0.0, 0.4);
        GetPlayerName(playerid, neve, sizeof(neve));
        SendClientMessageToAll(COLOR_RED, \"-------------------------------\");
        format(string, sizeof(string),      \"Admin %s szolgálatba lépett!\", neve);
        SendClientMessageToAll(COLOR_RED,string);
        SendClientMessageToAll(COLOR_RED, \"-------------------------------\");
    }
    return 1;
}

 
E: megelõzöl? xd

3933
SA-MP: Szerverfejlesztés / 3in1 script
« Dátum: 2012. május 14. - 16:05:11 »
Hát ez kurvára pazarol, fõleg a jármûveknél.

3934
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 21:50:37 »
#include <a_samp>
#include <zcmd>
public OnPlayerConnect(playerid)
{
SetPVarInt(playerid, \"Alap\", 1);
return 1;
}
CMD:chatcolor(playerid)
{
ShowPlayerDialog(playerid, 5000, DIALOG_STYLE_LIST, \"ChatColor change\", \"Kék\\nPiros\\nAlap\", \"Change!\", \"Mégse\");
return 1;
}
public OnPlayerText(playerid, text[])
{
new e[200];
if(GetPVarInt(playerid, \"Kek\") == 1)
{
   format( e, 200, \"{FFFFFF}(%i){375FFF}%s\", playerid, text );
}
if(GetPVarInt(playerid, \"Piros\") == 1)
{
   format( e, 200, \"{FFFFFF}(%i){E60000}%s\", playerid, text );
}
if(GetPVarInt(playerid, \"Alap\") == 1)
{
   format( e, 200, \"{FFFFFF}(%i){FFFFFF}%s\", playerid, text );
}
SendPlayerMessageToAll(playerid, e);
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 5000)
    {
       if(response)
        {
            if(listitem==0)
           {
               SetPVarInt(playerid, \"Kek\", 1);
                SetPVarInt(playerid, \"Piros\", 0);
                SetPVarInt(playerid, \"Alap\", 0);
      SendClientMessage(playerid, -1, \"Kék szövegszín kiválasztva!\");
          }
          if(listitem==1)
            {
                SetPVarInt(playerid, \"Kek\", 0);
                SetPVarInt(playerid, \"Piros\", 1);
                SetPVarInt(playerid, \"Alap\", 0);
             SendClientMessage(playerid, -1, \"Piros szövegszín kiválasztva!\");
            }
           if(listitem==2)
            {
                SetPVarInt(playerid, \"Kek\", 0);
        SetPVarInt(playerid, \"Piros\", 0);
             SetPVarInt(playerid, \"Alap\", 1);
                SendClientMessage(playerid, -1, \"Alap szövegszín (fehér) kiválasztva!\");
             }
          }
    }
return 1;
}

 
Teszteltem: MÛKÖDIK!

3935
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 19:04:54 »
így nem megy?
 
    #include <a_samp>
    #include <zcmd>
     
    CMD:chatcolor(playerid)
    {
            ShowPlayerDialog(playerid, 5000, DIALOG_STYLE_LIST, \"ChatColor change\", \"Kék\\nPiros\", \"Change!\", \"Mégse\");
            return 1;
    }
     
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
            if(dialogid == 5000)
            {
                    if(response)
                    {
                            if(listitem==0)
                            {
                                    SetPVarInt(playerid, \"Kek\", 1);
                                    SetPVarInt(playerid, \"Piros\", 0);
                                    SendClientMessage(playerid, -1, \"Kék szövegszín kiválasztva!\");
                            }
                            if(listitem==1)
                            {
                                    SetPVarInt(playerid, \"Kek\", 0);
                                    SetPVarInt(playerid, \"Piros\", 1);
                                    SendClientMessage(playerid, -1, \"Piros szövegszín kiválasztva!\");
                            }
                    }
            }
            return 1;
    }
     
    public OnPlayerText(playerid, text[])
    {
            new e[200];
            if(GetPVarInt(playerid, \"Kek\") == 1)
            {
            format( e, 200, \"{FFFFFF}(%i){375FFF}%s\", playerid, text );
            }
            if(GetPVarInt(playerid, \"Piros\") == 1)
            {
            format( e, 200, \"{FFFFFF}(%i){E60000}%s\", playerid, text );
            }
            SendPlayerMessageToAll(playerid, e);
            return 0;
    }

3936
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 18:56:51 »
Ott van neked, hogy:
 
   new e[200];
   format( e, 200, \"{FFFFFF}(%i)%s\", playerid, text );
   SendPlayerMessageToAll(playerid, e);

 
Helyett ezt:
 
   new e[200];
if(GetPVarInt(playerid, \"Kek\") == 1)
{
          format( e, 200, \"{FFFFFF}(%i){375FFF}%s\", playerid, text );
}
if(GetPVarInt(playerid, \"Piros\") == 1)
{
          format( e, 200, \"{FFFFFF}(%i){E60000}%s\", playerid, text );
}
          SendPlayerMessageToAll(playerid, e);

 
vagyis:
 
Idézetet írta: FastFurious date=1336927983\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"21424\" data-ipsquote-contentclass=\"forums_Topic
nah itt az onplayetext ez nem jo te helyezd be plz!
 
public OnPlayerText(playerid, text[])
{
    new TickCount = GetTickCount( );
   
    SetPlayerChatBubble(playerid, text, 0x99FF00AA, 100.0, 10000);
if( gPlayerSpamTick[ playerid ] > ( TickCount - ( SPAM_TIME * 800 ) ) )
{
    SendClientMessage( playerid, 0xEB000FFF, \"Ne spamolj várj {FB0000}2 {FF0000}másodpercet!\" );
gPlayerSpamTick[ playerid ] = GetTickCount( );
return 0;
}
 new iNums;
     for( new x = 0; x < strlen( text ); ++x ) {
        if( text[ x ] < \'0\' || text[ x ] > \'9\' ) continue;
        ++iNums;
    }
    if( iNums > 9 ) {
        SendClientMessage( playerid, COLOR_RED, \"Ne hirdess te fogyatékos buzi gyerek!\" );
        return 0;
    }
 
gPlayerSpamTick[ playerid ] = GetTickCount( );
#pragma unused text
new e[200];
if(GetPVarInt(playerid, \"Kek\") == 1)
{
          format( e, 200, \"{FFFFFF}(%i){375FFF}%s\", playerid, text );
}
if(GetPVarInt(playerid, \"Piros\") == 1)
{
          format( e, 200, \"{FFFFFF}(%i){E60000}%s\", playerid, text );
}
          SendPlayerMessageToAll(playerid, e);

 
itt még nincs benne
 

3937
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 18:48:32 »
Idézetet írta: ZyZu date=1336927684\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"21424\" data-ipsquote-contentclass=\"forums_Topic
Mod elejére #define 5000 dialog neve..
 
Az nem kell..

3938
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 18:46:31 »
h-h lefagy? Lehet szarul tetted be. :O

3939
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 18:37:10 »
Két színben gyorsan összedobtam, de nem teszteltem!
 
#include <a_samp>
#include <zcmd>
CMD:chatcolor(playerid)
{
ShowPlayerDialog(playerid, 5000, DIALOG_STYLE_LIST, \"ChatColor change\", \"Kék\\nPiros\", \"Change!\", \"Mégse\");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 5000)
{
if(response)
{
   if(listitem==0)
   {
      SetPVarInt(playerid, \"Kek\", 1);
      SetPVarInt(playerid, \"Piros\", 0);
      SendClientMessage(playerid, -1, \"Kék szövegszín kiválasztva!\");
   }
   if(listitem==1)
   {
      SetPVarInt(playerid, \"Kek\", 0);
      SetPVarInt(playerid, \"Piros\", 1);
      SendClientMessage(playerid, -1, \"Piros szövegszín kiválasztva!\");
   }
}
}
return 1;
}
public OnPlayerText(playerid, text[])
{
      new string[512], Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
if(GetPVarInt(playerid, \"Kek\") == 1)
{
format(string, sizeof(string), \"%s {375FFF}%s\", Name, text);
}
if(GetPVarInt(playerid, \"Piros\") == 1)
{
format(string, sizeof(string), \"%s {E60000}%s\", Name, text);
}
SendClientMessageToAll(GetPlayerColor(playerid), string);
return 0;
}

3940
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 18:28:14 »
public OnPlayerText(playerid, text[])
{
new string[512];
if(GetPVarInt(playerid, \"Kek\") == 1)
{
format(string, sizeof(string), \"%s: {375FFF}%s\", Nome(playerid), text);
}
SendClientMessageToAll(GetPlayerColor(playerid), string);
return 0;
}

 
S így...

3941
Segítségkérés / /chatcolor parancs
« Dátum: 2012. május 13. - 18:24:10 »
Nem copy-zz..
De ésszel meg lehet írni..

3942
Segítségkérés / Szerverhiba
« Dátum: 2012. május 13. - 15:51:22 »
Szerintem plugins hiba, de másold be a serverlog.txt-t!

3943
Beszélgetés / Értékeld a feletted író profilját
« Dátum: 2012. május 13. - 14:40:38 »
6/10

3944
Beszélgetés / Számoljunk el 10.000-ig!
« Dátum: 2012. május 13. - 14:38:42 »
508

3945
Segítségkérés / Skinválasztó
« Dátum: 2012. május 12. - 16:37:22 »
Idézetet írta: Flash date=1336832806\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"21351\" data-ipsquote-contentclass=\"forums_Topic
Itt egy alap. :D
 
public OnPlayerRequestClass(playerid, classid) 
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
return 1;
}

 
De ha kell egyedi, akkor csinálok. :)
 
Már leírtam..
+ az OnGameModeInit alá tedd be a skinneket.

Oldalak: 1 ... 261 262 [263] 264 265 ... 318
SimplePortal 2.3.7 © 2008-2025, SimplePortal