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 ... 267 268 [269] 270 271 ... 318
4021
« Dátum: 2012. május 15. - 17:43:10 »
Javaslom a PVar-t!  GetPVarInt(playerid, \"Szint\") > 2)
4022
« Dátum: 2012. május 15. - 17:40:34 »
Inkább: #include <a_samp> #include <streamer> public OnGameModeInit() { CreateDynamicObject(7191, -2096.048828125, -169.33966064453, 42.712642669678, 0, 0, 0); ... return 1; }
4023
« Dátum: 2012. május 15. - 16:38:31 »
Mód elejére: new reaction; forward reaction2(); Ebbe kell a timer. public NewContest() { new string [128]; ContestAnswer = MINIMUM_VALUE + random(MAXIMUM_VALUE-MINIMUM_VALUE); format(string,sizeof string,\"Reakció teszt ! Aki elõször beírja: %d az nyer %d $-t és %d pontot !\",ContestAnswer,CONTEST_PRIZE,CONTEST_SCORE); SendClientMessageToAll(0x00FFFFFF,string); reaction = SetTimer(\"reaction2\",120000,1); // 2 perc return 1; } public reaction2() { ContestAnswer = -1; SendClientMessageToAll(-1, \"Mivel senki sem oldotta meg a feladványt mingy ö még1 blabla..\"); KillTimer(reaction); reaction = SetTimer(\"reaction2\",120000,1); // 2 perc return 1; } Valami ilyesmi, de ezt most jól sszecsaptam, szval lehet nem jó de valami ilyesmi kell.
4024
« Dátum: 2012. május 14. - 22:12:27 »
Csinálsz magadnak egy textdrawot blabla és... OnPlayerConnect alá: SetPVarInt(playerid, \"Jatekos\", GetPVarInt(playerid, \"Jatekos\") +1); OnPlayerDisconnect alá: SetPVarInt(playerid, \"Jatekos\", GetPVarInt(playerid, \"Jatekos\") -1); A kiírása: new newtext[41]; format(newtext, sizeof(newtext), \"%d/%d\", GetPVarInt(playerid, \"Jatekos\"), GetMaxPlayers()); TextDrawSetString(Text:TextdrawName, newtext); TextDrawShowForPlayer(playerid, Text:TextdrawName); Vagyis: public OnPlayerConnect(playerid) { SetPVarInt(playerid, \"Jatekos\", GetPVarInt(playerid, \"Jatekos\") +1); new newtext[41]; format(newtext, sizeof(newtext), \"%d/%d\", GetPVarInt(playerid, \"Jatekos\"), GetMaxPlayers()); TextDrawSetString(Text:TextdrawName, newtext); TextDrawShowForPlayer(playerid, Text:TextdrawName); return 1; } public OnPlayerDisconnect(playerid, reason) { SetPVarInt(playerid, \"Jatekos\", GetPVarInt(playerid, \"Jatekos\") -1); new newtext[41]; format(newtext, sizeof(newtext), \"%d/%d\", GetPVarInt(playerid, \"Jatekos\"), GetMaxPlayers()); TextDrawSetString(Text:TextdrawName, newtext); TextDrawShowForPlayer(playerid, Text:TextdrawName); return 1; }
4025
« Dátum: 2012. május 14. - 22:06:25 »
Témát zárd.
4026
« Dátum: 2012. május 14. - 22:05:16 »
Jó map lett grat Lu$ta! Kár hogy nem mappolsz tovább, de megértelek hogy már unod. >\" post=\"272204\" timestamp=\"1336826462\"] Már nincs kedvem hozzá :confused: Majd jönnek új emberek akik jól mapolnak A sampot is már régen abba hagytam kb 1 éve , Már itt a fórumon is alig írok valahova Igazából nem is becsüli meg a többség a mapokat , ilyen sz*r mapra több lájkot adnak, mit amivel az ember dolgozott napokat és tényleg jó .. Nézd ez alatti témát parasztház 15 like és mi az ? lol van 20 objeckt az egész egy sz*r :confused: [/quote] Ezzel is 100%-osan egyetértek, ezért sem teszem fel a mapjaim fórumra, de lehet hogy eljön az ideje, mert nem vagyok rossz mapper.
4027
« Dátum: 2012. május 14. - 16:17:55 »
nem itt kell scriptert keresni. Am meg nem ismerem a PPC_Trucking gm-et, de gondolom a if(valami 2-est át kell írni mondjuk 3-ra vagy ahány házat akarsz tudni venni max.
4028
« Dátum: 2012. május 14. - 16:14:06 »
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..
4029
« 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
4030
« Dátum: 2012. május 14. - 16:05:11 »
Hát ez kurvára pazarol, fõleg a jármûveknél.
4031
« 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!
4032
« 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; }
4033
« 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: 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
4034
« Dátum: 2012. május 13. - 18:48:32 »
Mod elejére #define 5000 dialog neve..
Az nem kell..
4035
« Dátum: 2012. május 13. - 18:46:31 »
h-h lefagy? Lehet szarul tetted be. :O
Oldalak: 1 ... 267 268 [269] 270 271 ... 318
|