Szerző Téma: uzumymw  (Megtekintve 2711 alkalommal)

Nem elérhető BoSS

  • 816
    • Profil megtekintése
uzumymw
« Dátum: 2012. Február 24. - 19:46:49 »
+2 Show voters
Sziasztok ez a code lehetövé teszi,hogy kapjunk fegyvert. Az \"uzumymw\" parancs szó a GTA San Andread Singlel-en használható gondoltam meg csinálom Multiba is bár nemtudom,hogy valaki meg-e írta már.
Elsõ \"scriptem\" ha lehet annak nevezni amit publikálok...Remélem valakinek jól jön :)
 
#include <a_samp>
#include <zcmd>
new Text:CheatAct; // Változó létrehozása!
forward TextOff(playerid);
public OnFilterScriptInit()
{
CheatAct = TextDrawCreate(29.000000, 114.000000, \"Cheat actived!\"); // Új Textdraw létrehozása!
TextDrawBackgroundColor(CheatAct, 255);
TextDrawFont(CheatAct, 1);
TextDrawLetterSize(CheatAct, 0.410000, 0.899999);
TextDrawColor(CheatAct, -1);
TextDrawSetOutline(CheatAct, 0);
TextDrawSetProportional(CheatAct, 1);
TextDrawSetShadow(CheatAct, 1);
TextDrawUseBox(CheatAct, 1);
TextDrawBoxColor(CheatAct, 255);
TextDrawTextSize(CheatAct, 126.000000, 0.000000);
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(CheatAct); // Textdraw eltûntetése mindenkinek!
TextDrawDestroy(CheatAct); // Textdraw törlése
return 1;
}
CMD:uzumymw(playerid, params[])
{
GivePlayerWeapon(playerid, 9,1);
GivePlayerWeapon(playerid, 23,50);
GivePlayerWeapon(playerid, 27,150);
GivePlayerWeapon(playerid, 29,200);
GivePlayerWeapon(playerid, 31,200);
GivePlayerWeapon(playerid, 36,15);
GivePlayerWeapon(playerid, 34,75);
GivePlayerWeapon(playerid, 37,300);
TextDrawShowForPlayer(playerid, CheatAct); // Textdraw megjelenítése
SetTimerEx(\"TextOff\", 3000, false, \"d\", playerid); // Textdraw eltûntetése 3 másodperc után!
return 1;
}
public TextOff(playerid)
{
TextDrawHideForPlayer(playerid, CheatAct);
return 1;
}
}

 
UI: Nem tudom,hogy Singlelben pont ezeket-e a fegyvereket adja-e rég játszottam már úgy :)
A TextDraot Flash készítette el!
« Utoljára szerkesztve: 2012. Február 25. - 16:40:55 írta BoSS »

uzumymw
« Válasz #1 Dátum: 2012. Február 24. - 20:10:18 »
0 Show voters
jó lett  :hmmm: de legalább egy cheat activated text drawot készíthettél volna hozzá  :(

Nem elérhető Norby

  • 1575
    • Profil megtekintése
uzumymw
« Válasz #2 Dátum: 2012. Február 24. - 21:13:22 »
0 Show voters
Igaz textdraw jó lett volna hozzá.
Ezt úgy kellene megcsinálni hogy ne kelljen megnyomni a T betût hanem mint a rendes GTA ba simán gépeled és be adja. :)
Nem tudom lehetséges e de megpróbálkozok vele : http://wiki.sa-mp.com/wiki/OnPlayerKeyStateChange

uzumymw
« Válasz #3 Dátum: 2012. Február 25. - 07:06:25 »
0 Show voters
Idézetet írta: RAGE date=1330110618\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17470\" data-ipsquote-contentclass=\"forums_Topic
jó lett  :hmmm: de legalább egy cheat activated text drawot készíthettél volna hozzá  :(
 
ugy gondolod ahogy én csintem RAGE??

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
uzumymw
« Válasz #4 Dátum: 2012. Február 25. - 08:23:03 »
0 Show voters
Igen, úgy gondolta.
Beírod /uzumymw ad fegyókat + megjelenik a bal felsõ sarokba egy Cheat actived textdraw box al! és 3-4 másodperc múlva tûnik el.

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
uzumymw
« Válasz #5 Dátum: 2012. Február 25. - 10:48:32 »
0 Show voters
Szia! Ez így magában elég kevés, egy \"Cheat activated\" textdrawot tényleg készíthetnél hozzá, amit már az elõttem szólok is megemlítettek! ;)

uzumymw
« Válasz #6 Dátum: 2012. Február 25. - 11:51:11 »
0 Show voters
:D         

uzumymw
« Válasz #7 Dátum: 2012. Február 25. - 12:08:15 »
0 Show voters
ez ink code mint scripte de a
text tényleg jólenne :D
grat ha az elsõ scripted  :thumbsup:

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
uzumymw
« Válasz #8 Dátum: 2012. Február 25. - 14:20:16 »
0 Show voters
Megcsináljam neked Textdraw-al? :)

Nem elérhető BoSS

  • 816
    • Profil megtekintése
uzumymw
« Válasz #9 Dátum: 2012. Február 25. - 16:27:52 »
0 Show voters
Annyira nem értek a textdrawokhoz...de gyakorlom meg próbálom meg csinálni, segítséget meg elfogadok.:)

uzumymw
« Válasz #10 Dátum: 2012. Február 25. - 16:36:55 »
0 Show voters
#include <a_samp>
#include <zcmd>
#include <sscanf2>
forward xxTime(playerid);
public xxTimer(playerid)
{
TextDrawHideForPlayer(playerid, uzumymw);
 
return 1;
}
public OnFilterScriptInit()
{
uzumymw = TextDrawCreate(30.000000,114.000000,\"Cheat Actived!\");
TextDrawUseBox(uzumymw,1);
TextDrawBoxColor(uzumymw,0x00000066);
TextDrawTextSize(uzumymw,153.000000,0.000000);
TextDrawAlignment(uzumymw,0);
TextDrawBackgroundColor(uzumymw,0x000000ff);
TextDrawFont(uzumymw,1);
TextDrawLetterSize(uzumymw,0.499999,1.300000);
TextDrawColor(uzumymw,0xffffffff);
TextDrawSetProportional(uzumymw,1);
TextDrawSetShadow(uzumymw,1);
return 1;
}
 
CMD:uzumymw(playerid)
{
TextDrawShowForPlayer(playerid, uzumymw);
SetTimerEx(\"xxTimer\",5000,0, \"d\", playerid);
GivePlayerWeapon(playerid, 9,1);
GivePlayerWeapon(playerid, 23,50);
GivePlayerWeapon(playerid, 27,150);
GivePlayerWeapon(playerid, 29,200);
GivePlayerWeapon(playerid, 31,200);
GivePlayerWeapon(playerid, 36,15);
GivePlayerWeapon(playerid, 34,75);
GivePlayerWeapon(playerid, 37,300);
return 1;
}

 
Textdrawosra megcsintem Tessék!
« Utoljára szerkesztve: 2012. Február 25. - 16:39:31 írta Szabyxxx »

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
uzumymw
« Válasz #11 Dátum: 2012. Február 25. - 16:37:28 »
0 Show voters
Megcsináltam Textdrawos-ra, és odaírtam mi  micsoda! :)
+ te az sscanf-ot is beágyaztad, pedig az nem kell.
Script:
 
#include <a_samp>
#include <zcmd>
new Text:CheatAct; // Változó létrehozása!
forward TextOff(playerid);
public OnFilterScriptInit()
{
CheatAct = TextDrawCreate(29.000000, 114.000000, \"Cheat actived!\"); // Új Textdraw létrehozása!
TextDrawBackgroundColor(CheatAct, 255);
TextDrawFont(CheatAct, 1);
TextDrawLetterSize(CheatAct, 0.410000, 0.899999);
TextDrawColor(CheatAct, -1);
TextDrawSetOutline(CheatAct, 0);
TextDrawSetProportional(CheatAct, 1);
TextDrawSetShadow(CheatAct, 1);
TextDrawUseBox(CheatAct, 1);
TextDrawBoxColor(CheatAct, 255);
TextDrawTextSize(CheatAct, 126.000000, 0.000000);
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(CheatAct); // Textdraw eltûntetése mindenkinek!
TextDrawDestroy(CheatAct); // Textdraw törlése
return 1;
}
CMD:uzumymw(playerid, params[])
{
GivePlayerWeapon(playerid, 9,1);
GivePlayerWeapon(playerid, 23,50);
GivePlayerWeapon(playerid, 27,150);
GivePlayerWeapon(playerid, 29,200);
GivePlayerWeapon(playerid, 31,200);
GivePlayerWeapon(playerid, 36,15);
GivePlayerWeapon(playerid, 34,75);
GivePlayerWeapon(playerid, 37,300);
TextDrawShowForPlayer(playerid, CheatAct); // Textdraw megjelenítése
SetTimerEx(\"TextOff\", 3000, false, \"d\", playerid); // Textdraw eltûntetése 3 másodperc után!
return 1;
}
public TextOff(playerid)
{
TextDrawHideForPlayer(playerid, CheatAct);
return 1;
}

uzumymw
« Válasz #12 Dátum: 2012. Február 25. - 16:38:29 »
0 Show voters
Féash énis megcsintem :XD

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
uzumymw
« Válasz #13 Dátum: 2012. Február 25. - 16:40:08 »
0 Show voters
Egyszerre. :)
Amúgy a te megoldásodnál nem tûnik el restart után. :) De azért jól csináltad. :)

uzumymw
« Válasz #14 Dátum: 2012. Február 25. - 16:40:38 »
0 Show voters
háháááá  :D :D :D bekéne vagy 8 embert hivni a témába hogy mindenki csinálja meg ugyan ezt csak másként  :D :D :D :D meg van a 2

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal