Započeo sá´á´˜Ê€á´€É´á´â„¢
•21. Mar. 2015.• Zaključano[POMOC] Login TextDrawovi
462
pregleda
5
postova
Wheel Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
44
Postovi:
11
Teme:
Pridružio se:Nov. 2013
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:
Textdrawovi koje trebam ubacit:
OnPlayerSpawn:
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
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;
{
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);
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);
}
///////////////////////////////////////////////////////
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): /
Made Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
362
Postovi:
26
Teme:
Pridružio se:Jun 2014
21. Mar. 2015.
Pod OnPlayerConnect dodajes onda:
A pod OnPlayerSpawn dodajes:
( Funkcijom TextDrawHideForPlayer makivas TD-ove a TextDrawShowForPlayer palis TD-ove )
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 )
Wheel Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
44
Postovi:
11
Teme:
Pridružio se:Nov. 2013
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?
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
246 / 250 XP
Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
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 ?
Wheel Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
44
Postovi:
11
Teme:
Pridružio se:Nov. 2013
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava