Találtam samp-scripts.com-on egy maszti filterszkriptet, nem bírtam ki hogy ne hozzam át ide
Tesztelve!
Készítette: Kajlle (
http://samp-scripts.com/post/19200/Masturbation_System/Kajlle/filterscript/systems)
Magyarrá tette: Peti134 (aka Wiliam Levy)
Képek:
//Maszturbáció rendszer
//Készítette: Kajlle
//Magyarrá tette: Peti134 (aka Wiliam Levy)
#include <a_samp>
#include <progress>
#define PRESSED(%0) \\
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
#define WHITE \"{FFFFFF}\"
#define GREEN \"{6EF83C}\"
new Text:SvrTD[14];
new Bar:pritisakbar[MAX_PLAYERS] = {INVALID_BAR_ID, ...};
forward SpustiPritisak();
public OnFilterScriptInit()
{
SetTimer(\"SpustiPritisak\", 450, 1);
SvrTD[0] = TextDrawCreate(248.000000, 169.244445, \".\");
TextDrawLetterSize(SvrTD[0], 1.184999, 9.249184);
TextDrawTextSize(SvrTD[0], 375.666717, 187.496337);
TextDrawAlignment(SvrTD[0], 1);
TextDrawColor(SvrTD[0], -1);
TextDrawSetShadow(SvrTD[0], 0);
TextDrawSetOutline(SvrTD[0], 0);
TextDrawBackgroundColor(SvrTD[0], 51);
TextDrawFont(SvrTD[0], 1);
TextDrawSetProportional(SvrTD[0], 1);
SvrTD[1] = TextDrawCreate(305.333374, 225.244445, \".\");
TextDrawLetterSize(SvrTD[1], 1.581332, 10.049782);
TextDrawAlignment(SvrTD[1], 1);
TextDrawColor(SvrTD[1], -1);
TextDrawSetShadow(SvrTD[1], 0);
TextDrawSetOutline(SvrTD[1], 0);
TextDrawBackgroundColor(SvrTD[1], 51);
TextDrawFont(SvrTD[1], 1);
TextDrawSetProportional(SvrTD[1], 1);
SvrTD[2] = TextDrawCreate(295.666717, 103.703727, \".\");
TextDrawLetterSize(SvrTD[2], 1.143666, 8.880001);
TextDrawAlignment(SvrTD[2], 1);
TextDrawColor(SvrTD[2], -1);
TextDrawSetShadow(SvrTD[2], 0);
TextDrawSetOutline(SvrTD[2], 0);
TextDrawBackgroundColor(SvrTD[2], 51);
TextDrawFont(SvrTD[2], 1);
TextDrawSetProportional(SvrTD[2], 1);
SvrTD[3] = TextDrawCreate(112.000030, 141.866683, \".\");
TextDrawLetterSize(SvrTD[3], 1.159666, 7.921777);
TextDrawAlignment(SvrTD[3], 1);
TextDrawColor(SvrTD[3], -1);
TextDrawSetShadow(SvrTD[3], 0);
TextDrawSetOutline(SvrTD[3], 0);
TextDrawBackgroundColor(SvrTD[3], 51);
TextDrawFont(SvrTD[3], 1);
TextDrawSetProportional(SvrTD[3], 1);
SvrTD[4] = TextDrawCreate(157.666687, 184.762954, \".\");
TextDrawLetterSize(SvrTD[4], 1.635666, 10.725923);
TextDrawAlignment(SvrTD[4], 1);
TextDrawColor(SvrTD[4], -1);
TextDrawSetShadow(SvrTD[4], 0);
TextDrawSetOutline(SvrTD[4], 0);
TextDrawBackgroundColor(SvrTD[4], 51);
TextDrawFont(SvrTD[4], 1);
TextDrawSetProportional(SvrTD[4], 1);
SvrTD[5] = TextDrawCreate(393.999908, 182.903701, \".\");
TextDrawLetterSize(SvrTD[5], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[5], 1);
TextDrawColor(SvrTD[5], -1);
TextDrawSetShadow(SvrTD[5], 0);
TextDrawSetOutline(SvrTD[5], 0);
TextDrawBackgroundColor(SvrTD[5], 51);
TextDrawFont(SvrTD[5], 1);
TextDrawSetProportional(SvrTD[5], 1);
SvrTD[6] = TextDrawCreate(363.999908, 182.903701, \".\");
TextDrawLetterSize(SvrTD[6], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[6], 1);
TextDrawColor(SvrTD[6], -1);
TextDrawSetShadow(SvrTD[6], 0);
TextDrawSetOutline(SvrTD[6], 0);
TextDrawBackgroundColor(SvrTD[6], 51);
TextDrawFont(SvrTD[6], 1);
TextDrawSetProportional(SvrTD[6], 1);
SvrTD[7] = TextDrawCreate(353.999908, 172.903701, \".\");
TextDrawLetterSize(SvrTD[7], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[7], 1);
TextDrawColor(SvrTD[7], -1);
TextDrawSetShadow(SvrTD[7], 0);
TextDrawSetOutline(SvrTD[7], 0);
TextDrawBackgroundColor(SvrTD[7], 51);
TextDrawFont(SvrTD[7], 1);
TextDrawSetProportional(SvrTD[7], 1);
SvrTD[8] = TextDrawCreate(333.999908, 179.903701, \".\");
TextDrawLetterSize(SvrTD[8], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[8], 1);
TextDrawColor(SvrTD[8], -1);
TextDrawSetShadow(SvrTD[8], 0);
TextDrawSetOutline(SvrTD[8], 0);
TextDrawBackgroundColor(SvrTD[8], 51);
TextDrawFont(SvrTD[8], 1);
TextDrawSetProportional(SvrTD[8], 1);
SvrTD[9] = TextDrawCreate(303.999908, 232.903701, \".\");
TextDrawLetterSize(SvrTD[9], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[9], 1);
TextDrawColor(SvrTD[9], -1);
TextDrawSetShadow(SvrTD[9], 0);
TextDrawSetOutline(SvrTD[9], 0);
TextDrawBackgroundColor(SvrTD[9], 51);
TextDrawFont(SvrTD[9], 1);
TextDrawSetProportional(SvrTD[9], 1);
SvrTD[10] = TextDrawCreate(373.999908, 252.903701, \".\");
TextDrawLetterSize(SvrTD[10], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[10], 1);
TextDrawColor(SvrTD[10], -1);
TextDrawSetShadow(SvrTD[10], 0);
TextDrawSetOutline(SvrTD[10], 0);
TextDrawBackgroundColor(SvrTD[10], 51);
TextDrawFont(SvrTD[10], 1);
TextDrawSetProportional(SvrTD[10], 1);
SvrTD[11] = TextDrawCreate(473.999908, 102.903701, \".\");
TextDrawLetterSize(SvrTD[11], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[11], 1);
TextDrawColor(SvrTD[11], -1);
TextDrawSetShadow(SvrTD[11], 0);
TextDrawSetOutline(SvrTD[11], 0);
TextDrawBackgroundColor(SvrTD[11], 51);
TextDrawFont(SvrTD[11], 1);
TextDrawSetProportional(SvrTD[11], 1);
SvrTD[12] = TextDrawCreate(353.999908, 192.903701, \".\");
TextDrawLetterSize(SvrTD[12], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[12], 1);
TextDrawColor(SvrTD[12], -1);
TextDrawSetShadow(SvrTD[12], 0);
TextDrawSetOutline(SvrTD[12], 0);
TextDrawBackgroundColor(SvrTD[12], 51);
TextDrawFont(SvrTD[12], 1);
TextDrawSetProportional(SvrTD[12], 1);
SvrTD[13] = TextDrawCreate(153.999908, 372.903701, \".\");
TextDrawLetterSize(SvrTD[13], 1.216666, 8.324146);
TextDrawAlignment(SvrTD[13], 1);
TextDrawColor(SvrTD[13], -1);
TextDrawSetShadow(SvrTD[13], 0);
TextDrawSetOutline(SvrTD[13], 0);
TextDrawBackgroundColor(SvrTD[13], 51);
TextDrawFont(SvrTD[13], 1);
TextDrawSetProportional(SvrTD[13], 1);
return 1;
}
public SpustiPritisak()
{
for(new playerid; playerid < MAX_PLAYERS; playerid++)
{
if(GetProgressBarValue(pritisakbar[playerid]) > 13)
{
ApplyAnimation(playerid,\"PAULNMAC\", \"wank_loop\", 1.800001, 1, 0, 0, 1, 600);
SetProgressBarValue(pritisakbar[playerid], GetProgressBarValue(pritisakbar[playerid])-1);
UpdateProgressBar(pritisakbar[playerid], playerid);
}
}
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/wank\", cmdtext, true, 10) == 0)
{
pritisakbar[playerid] = CreateProgressBar(273.00, 392.00, 61.50, 10.19, 0x00FF00FF, 100.0);
ApplyAnimation(playerid,\"PAULNMAC\", \"wank_loop\", 1.800001, 1, 0, 0, 1, 600);
ShowProgressBarForPlayer(playerid, pritisakbar[playerid]);
SetProgressBarValue(pritisakbar[playerid], 13);
SetPlayerAttachedObject(playerid, 3, 19086, 8, -0.049768, -0.014062, -0.108385, 87.458297, 263.478149, 184.123764, 0.622413, 1.041609, 1.012785);
SendClientMessage(playerid, -1, \"\"GREEN\"(iNFO) \"WHITE\"Elkezdted kiverni, nyomogasd a szóközt!\");
SendClientMessage(playerid, -1, \"\"GREEN\"(iNFO) \"WHITE\"Mikor az állapotjelző eléri a 80 százalékot, használd a /masturbate parancsot!\");
return 1;
}
if (strcmp(\"/masturbate\", cmdtext, true, 10) == 0)
{
if(GetProgressBarValue(pritisakbar[playerid]) > 80)
{
DestroyProgressBar(pritisakbar[playerid]);
TextDrawShowForPlayer(playerid, SvrTD[0]);
TextDrawShowForPlayer(playerid, SvrTD[1]);
TextDrawShowForPlayer(playerid, SvrTD[2]);
TextDrawShowForPlayer(playerid, SvrTD[3]);
TextDrawShowForPlayer(playerid, SvrTD[4]);
TextDrawShowForPlayer(playerid, SvrTD[5]);
TextDrawShowForPlayer(playerid, SvrTD[6]);
TextDrawShowForPlayer(playerid, SvrTD[7]);
TextDrawShowForPlayer(playerid, SvrTD[8]);
TextDrawShowForPlayer(playerid, SvrTD[9]);
TextDrawShowForPlayer(playerid, SvrTD[10]);
TextDrawShowForPlayer(playerid, SvrTD[11]);
TextDrawShowForPlayer(playerid, SvrTD[12]);
TextDrawShowForPlayer(playerid, SvrTD[13]);
ApplyAnimation(playerid, \"CRACK\", \"crckdeth2\", 4.0, 1, 0, 0, 0, 0);
SetTimerEx(\"UkloniTd\", 3500, 0, \"d\", playerid);
SendClientMessage(playerid, -1, \"\"GREEN\"(iNFO) \"WHITE\"Épp elélvezel, most várj egy kicsit!\");
}
else
{
SendClientMessage(playerid, -1, \"\"GREEN\"(iNFO) \"WHITE\"Az állapotjelző még nem érte el a 80 százazékot!\");
}
return 1;
}
return 0;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_SPRINT))
{
if(GetProgressBarValue(pritisakbar[playerid]) < 100)
{
SetProgressBarValue(pritisakbar[playerid], GetProgressBarValue(pritisakbar[playerid])+1);
UpdateProgressBar(pritisakbar[playerid], playerid);
}
}
return 1;
}
forward UkloniTd(playerid);
public UkloniTd(playerid)
{
DestroyProgressBar(pritisakbar[playerid]);
TextDrawHideForPlayer(playerid, SvrTD[0]);
TextDrawHideForPlayer(playerid, SvrTD[1]);
TextDrawHideForPlayer(playerid, SvrTD[2]);
TextDrawHideForPlayer(playerid, SvrTD[3]);
TextDrawHideForPlayer(playerid, SvrTD[4]);
TextDrawHideForPlayer(playerid, SvrTD[5]);
TextDrawHideForPlayer(playerid, SvrTD[6]);
TextDrawHideForPlayer(playerid, SvrTD[7]);
TextDrawHideForPlayer(playerid, SvrTD[8]);
TextDrawHideForPlayer(playerid, SvrTD[9]);
TextDrawHideForPlayer(playerid, SvrTD[10]);
TextDrawHideForPlayer(playerid, SvrTD[11]);
TextDrawHideForPlayer(playerid, SvrTD[12]);
TextDrawHideForPlayer(playerid, SvrTD[13]);
SendClientMessage(playerid, -1, \"\"GREEN\"(iNFO) \"WHITE\"Elélveztél! \");
ApplyAnimation(playerid, \"CARRY\", \"crry_prtial\", 4.0, 0, 0, 0, 0, 0);
return 1;
}
Kedves egészségetekre :laugh:
Edited(elcseszte a szöveget a százalék jel, /masturbate parancs félre volt írva)
Köszi a képeket RusH, mindjárt teszek fel énis