[POMOC] Login TextDrawovi

21. Mar. 2015. Zaključano
445
pregleda
5
postova
solda55
3
Wheel Man
21. Mar. 2015.
Skripta koju koristim: Ghetto RolePlay by Nestor
Detaljan opis problema: Znaci meni treba kad se neko connecta na server da mu se pojave textdravovi i da se onda maknu kad se spawna...
Dio skripte: OnPlayerConnect:
Quote
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer( playerid, "http://k003.kiwi6.com/hotlink/senty3sfmh/LoginSong.mp3" );
    firstSpawn[ playerid ] = true;
    AfkCheck = 0;

Textdrawovi koje trebam ubacit:
Quote
    TextDrawShowForPlayer(playerid, LoginTextDraw0);
        TextDrawShowForPlayer(playerid, LoginTextDraw1);
    TextDrawShowForPlayer(playerid, LoginTextDraw2);
    TextDrawShowForPlayer(playerid, LoginTextDraw3);
TextDrawShowForPlayer(playerid, ClickTXD0);
TextDrawShowForPlayer(playerid, ClickTXD1);
TextDrawShowForPlayer(playerid, ClickTXD2);
TextDrawShowForPlayer(playerid, LoginTextDraw7);
TextDrawShowForPlayer(playerid, LoginTextDraw😎;
TextDrawShowForPlayer(playerid, LoginTextDraw9);
TextDrawShowForPlayer(playerid, LoginTextDraw10);
TextDrawShowForPlayer(playerid, LoginTextDraw11);

OnPlayerSpawn:
Quote
///////////////////////////////////////////
public OnPlayerSpawn(playerid)
{
StopAudioStreamForPlayer ( playerid );
firstSpawn[ playerid ] = false;
    BelaBojaIgraca(playerid); SpawnIgraca(playerid); ResetujVar(playerid); UsaoFirma = -1;
SetPlayerScore(playerid, PlayerInfo); SetPlayerSkin(playerid, PlayerInfo);
///////////////////////////////////////////////////////
    if(AdminVozilo != -1) DestroyVehicle(AdminVozilo), AdminVozilo = -1;
///////////////////////////////////////////////////////
if(TextDrawGangZone != 1)
{
    TextDrawHideForPlayer(playerid, LoginTextDraw0); TextDrawHideForPlayer(playerid, LoginTextDraw1); TextDrawHideForPlayer(playerid, LoginTextDraw2); TextDrawHideForPlayer(playerid, LoginTextDraw3);
        TextDrawHideForPlayer(playerid, ClickTXD0); TextDrawHideForPlayer(playerid, ClickTXD1); TextDrawHideForPlayer(playerid, ClickTXD2);
        TextDrawHideForPlayer(playerid, LoginTextDraw10); TextDrawHideForPlayer(playerid, LoginTextDraw11);
        TextDrawHideForPlayer(playerid, LoginTextDraw3);TextDrawHideForPlayer(playerid, LoginTextDraw7); TextDrawHideForPlayer(playerid, LoginTextDraw😎; TextDrawHideForPlayer(playerid, LoginTextDraw9);
    TextDrawHideForPlayer(playerid, ServerPoruka1);
    TextDrawHideForPlayer(playerid, ServerPoruka2);
    TextDrawHideForPlayer(playerid, ServerPoruka3);
    TextDrawHideForPlayer(playerid, ServerPoruka4);
    TextDrawHideForPlayer(playerid, ServerPoruka5);
    TextDrawHideForPlayer(playerid, ServerPoruka6);
    TextDrawHideForPlayer(playerid, ServerPoruka7);
    TextDrawHideForPlayer(playerid, ServerPoruka😎;
        TextDrawShowForPlayer(playerid, Vreme), TextDrawShowForPlayer(playerid, Datum);
        TextDrawShowForPlayer(playerid, BalkanZone0);
        TextDrawShowForPlayer(playerid, BalkanZone1);
        TextDrawShowForPlayer(playerid, BalkanZone2);
        TextDrawShowForPlayer(playerid, BalkanZone3);
        TextDrawShowForPlayer(playerid, BalkanZone4);
        TextDrawShowForPlayer(playerid, BalkanZone5);
        TextDrawShowForPlayer(playerid, BalkanZone6);
        TextDrawShowForPlayer(playerid, TeXtDrAwV6);
GangZoneShowForPlayer(playerid, GroveGang, 1671188😎; GangZoneShowForPlayer(playerid, ballaszonag, -2147418167);
GangZoneShowForPlayer(playerid, ZKzona, -16777017); GangZoneShowForPlayer(playerid, bdtzona, 199);
GangZoneShowForPlayer(playerid, bdtdrogazone, 199); TextDrawGangZone = 1;
asp2 = SetTimerEx("AServerPoruka2",7000, false, "i", playerid);
TextDrawShowForPlayer(playerid, ServerPoruka1);
}
///////////////////////////////////////////////////////

Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Mike_Varriow
4
Made Man
21. Mar. 2015.
Pod OnPlayerConnect dodajes onda:

TextDrawShowForPlayer(playerid, LoginTextDraw0);
TextDrawShowForPlayer(playerid, LoginTextDraw1);
TextDrawShowForPlayer(playerid, LoginTextDraw2);
TextDrawShowForPlayer(playerid, LoginTextDraw3);
TextDrawShowForPlayer(playerid, ClickTXD0);
TextDrawShowForPlayer(playerid, ClickTXD1);
TextDrawShowForPlayer(playerid, ClickTXD2);
TextDrawShowForPlayer(playerid, LoginTextDraw7);
TextDrawShowForPlayer(playerid, LoginTextDraw8);
TextDrawShowForPlayer(playerid, LoginTextDraw9);
TextDrawShowForPlayer(playerid, LoginTextDraw10);
TextDrawShowForPlayer(playerid, LoginTextDraw11);

A pod OnPlayerSpawn dodajes:

TextDrawHideForPlayer(playerid, LoginTextDraw0);
TextDrawHideForPlayer(playerid, LoginTextDraw1);
TextDrawHideForPlayer(playerid, LoginTextDraw2);
TextDrawHideForPlayer(playerid, LoginTextDraw3);
TextDrawHideForPlayer(playerid, ClickTXD0);
TextDrawHideForPlayer(playerid, ClickTXD1);
TextDrawHideForPlayer(playerid, ClickTXD2);
TextDrawHideForPlayer(playerid, LoginTextDraw7);
TextDrawHideForPlayer(playerid, LoginTextDraw8);
TextDrawHideForPlayer(playerid, LoginTextDraw9);
TextDrawHideForPlayer(playerid, LoginTextDraw10);
TextDrawHideForPlayer(playerid, LoginTextDraw11);


( Funkcijom TextDrawHideForPlayer makivas TD-ove a TextDrawShowForPlayer palis TD-ove )
solda55
3
Wheel Man
22. Mar. 2015.
Znaci ja sam ih definirao i promjenio im mjesto ali nemogu kliknut na register i izlaz nego samo na login... moze neko pomoc?
Rudimental
5
OG Legend
22. Mar. 2015.
Pre svega kada stavljas kodove iz scripti stavljaj ih u [ code ] Text [ /code ] a sad ti meni kazi sta je konkretan problem ovde ?
solda55
3
Wheel Man
22. Mar. 2015.
Ma nista sad je sve ok mozete lock temu hvala na pomoci 🙂

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha