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): /
