How to change this image
#1

Hello how to i can change this Image ? Leave the Chat and login Only Image i hate it lol






PHP код:
public OnPlayerConnect(playerid)
{
    
SetTimerEx("PlayerStats"1true"i"playerid);
    
PM_Data[playerid][Last] = -1;
    
PM_Data[playerid][NoPM] = 0;
    
IsPlayerUsingAnims[playerid] = 0;
    
IsPlayerAnimsPreloaded[playerid] = 0;
    if(
fexist(Path_2(playerid)))
    {
        
INI_ParseFile(Path_2(playerid),"LoadPostiondata_%s", .bExtra true, .extra playerid);
    }
        else
    {
        new 
INI:file INI_Open(Path_2(playerid));
        
INI_SetTag(file,"Player Car-Saver Data");
        
INI_WriteFloat(file,"(1)Postion-PosX",0);
        
INI_WriteFloat(file,"(1)Postion-PosY",0);
        
INI_WriteFloat(file,"(1)Postion-PosZ",0);
        
INI_WriteInt(file,"(1)Interior",0);
        
INI_WriteFloat(file,"(2)Postion-PosX",0);
        
INI_WriteFloat(file,"(2)Postion-PosY",0);
        
INI_WriteFloat(file,"(2)Postion-PosZ",0);
        
INI_WriteInt(file,"(2)Interior",0);
        
INI_WriteFloat(file,"(3)Postion-PosX",0);
        
INI_WriteFloat(file,"(3)Postion-PosY",0);
        
INI_WriteFloat(file,"(3)Postion-PosZ",0);
        
INI_WriteInt(file,"(3)Interior",0);
        
INI_WriteFloat(file,"(4)Postion-PosX",0);
        
INI_WriteFloat(file,"(4)Postion-PosY",0);
        
INI_WriteFloat(file,"(4)Postion-PosZ",0);
        
INI_WriteInt(file,"(4)Interior",0);
        
INI_WriteFloat(file,"(5)Postion-PosX",0);
        
INI_WriteFloat(file,"(5)Postion-PosY",0);
        
INI_WriteFloat(file,"(5)Postion-PosZ",0);
        
INI_WriteInt(file,"(5)Interior",0);
        
INI_Close(file);
    }
    new 
pFile[35];
    
format(pFile35Player_FileGetName(playerid));
    if(
fexist(pFile))
    {
        new 
INI:UserFile INI_Open(pFile);
        
        
INI_WriteInt(UserFile"Admin"0);
        
INI_WriteInt(UserFile"Money"START_MONEY);
        
INI_WriteInt(UserFile"Score"0);
        
INI_WriteInt(UserFile"Skin"SKIN_ID);
         
INI_WriteInt(UserFile"Warn"0);
         
INI_WriteInt(UserFile"VIP"0);
        
INI_Close(UserFile);
        
SetPVarInt(playerid"Registered"1);
        
SetPVarInt(playerid"Logged"1);
    }
        else
    {
        
INI_ParseFile(pFile"LoadPlayerData", .bExtra true, .extra playerid);
        
SetPVarInt(playerid"Logged"1);
    }
    
SetPVarInt(playerid"Join"1);
    
IsOnDuty[playerid]=0;
    
pvehicleid[playerid] = GetPlayerVehicleID(playerid);
    
pvehicleid[playerid] = 0;
    
pmodelid[playerid] = 0;
    
SetTimerEx("StartBurn"30000false"i"playerid);
    
SetTimerEx("StartFix"30000false"i"playerid);
    
SetTimerEx("StartHeal"30000false"i"playerid);
    
IsLogged[playerid]=0;
    
Rank[playerid]=0;
    
m_w1[playerid]=1;
    
m_w2[playerid]=1;
    
m_w3[playerid]=1;
    
m_w4[playerid]=1;
    
    
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid0.00.00.7);
    
IsPlayerCapturing[playerid][SNAKE] = 0;
    
IsPlayerCapturing[playerid][BAY] = 0;
    
IsPlayerCapturing[playerid][BIG] = 0;
    
IsPlayerCapturing[playerid][ARMY] = 0;
    
IsPlayerCapturing[playerid][PETROL] = 0;
    
IsPlayerCapturing[playerid][OIL] = 0;
    
IsPlayerCapturing[playerid][DESERT] = 0;
    
IsPlayerCapturing[playerid][QUARRY] = 0;
    
IsPlayerCapturing[playerid][GUEST] = 0;
    
IsPlayerCapturing[playerid][EAR] = 0;
    
CountVar[playerid][SNAKE] = 25;
    
CountVar[playerid][BAY] = 25;
    
CountVar[playerid][BIG] = 25;
    
CountVar[playerid][PETROL] = 25;
    
CountVar[playerid][ARMY] = 25;
    
CountVar[playerid][DESERT] = 25;
    
CountVar[playerid][OIL] = 25;
    
CountVar[playerid][QUARRY] = 25;
    
CountVar[playerid][GUEST] = 25;
    
CountVar[playerid][EAR] = 25;
    if(
tCP[SNAKE] == TEAM_NONEGangZoneShowForAll(Zone[SNAKE], -66);
    else if(
tCP[SNAKE] == ASIAGangZoneShowForAll(Zone[SNAKE], ZONE_ASIA_COLOR);
    else if(
tCP[SNAKE] == AFRICAGangZoneShowForAll(Zone[SNAKE], ZONE_AFRICA_COLOR);
    else if(
tCP[SNAKE] == EUROPEGangZoneShowForAll(Zone[SNAKE], ZONE_EUROPE_COLOR);
    else if(
tCP[SNAKE] == AUSTRALIAGangZoneShowForAll(Zone[SNAKE], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[SNAKE] == AMERICAGangZoneShowForAll(Zone[SNAKE], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[BAY] == TEAM_NONEGangZoneShowForAll(Zone[BAY], -66);
    else if(
tCP[BAY] == ASIAGangZoneShowForAll(Zone[BAY], ZONE_ASIA_COLOR);
    else if(
tCP[BAY] == AFRICAGangZoneShowForAll(Zone[BAY], ZONE_AFRICA_COLOR);
    else if(
tCP[BAY] == EUROPEGangZoneShowForAll(Zone[BAY], ZONE_EUROPE_COLOR);
    else if(
tCP[BAY] == AUSTRALIAGangZoneShowForAll(Zone[BAY], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[BAY] == AMERICAGangZoneShowForAll(Zone[BAY], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[BIG] == TEAM_NONEGangZoneShowForAll(Zone[BIG], -66);
    else if(
tCP[BIG] == ASIAGangZoneShowForAll(Zone[BIG], ZONE_ASIA_COLOR);
    else if(
tCP[BIG] == AFRICAGangZoneShowForAll(Zone[BIG], ZONE_AFRICA_COLOR);
    else if(
tCP[BIG] == EUROPEGangZoneShowForAll(Zone[BIG], ZONE_EUROPE_COLOR);
    else if(
tCP[BIG] == AUSTRALIAGangZoneShowForAll(Zone[BIG], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[BIG] == AMERICAGangZoneShowForAll(Zone[BIG], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[ARMY] == TEAM_NONEGangZoneShowForAll(Zone[ARMY], -66);
    else if(
tCP[ARMY] == ASIAGangZoneShowForAll(Zone[ARMY], ZONE_ASIA_COLOR);
    else if(
tCP[ARMY] == AFRICAGangZoneShowForAll(Zone[ARMY], ZONE_AFRICA_COLOR);
    else if(
tCP[ARMY] == EUROPEGangZoneShowForAll(Zone[ARMY], ZONE_EUROPE_COLOR);
    else if(
tCP[ARMY] == AUSTRALIAGangZoneShowForAll(Zone[ARMY], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[ARMY] == AMERICAGangZoneShowForAll(Zone[ARMY], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[PETROL] == TEAM_NONEGangZoneShowForAll(Zone[PETROL], -66);
    else if(
tCP[PETROL] == ASIAGangZoneShowForAll(Zone[PETROL], ZONE_ASIA_COLOR);
    else if(
tCP[PETROL] == AFRICAGangZoneShowForAll(Zone[PETROL], ZONE_AFRICA_COLOR);
    else if(
tCP[PETROL] == EUROPEGangZoneShowForAll(Zone[PETROL], ZONE_EUROPE_COLOR);
    else if(
tCP[PETROL] == AUSTRALIAGangZoneShowForAll(Zone[PETROL], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[PETROL] == AMERICAGangZoneShowForAll(Zone[PETROL], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[OIL] == TEAM_NONEGangZoneShowForAll(Zone[OIL], -66);
    else if(
tCP[OIL] == ASIAGangZoneShowForAll(Zone[OIL], ZONE_ASIA_COLOR);
    else if(
tCP[OIL] == AFRICAGangZoneShowForAll(Zone[OIL], ZONE_AFRICA_COLOR);
    else if(
tCP[OIL] == EUROPEGangZoneShowForAll(Zone[OIL], ZONE_EUROPE_COLOR);
    else if(
tCP[OIL] == AUSTRALIAGangZoneShowForAll(Zone[OIL], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[OIL] == AMERICAGangZoneShowForAll(Zone[OIL], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[DESERT] == TEAM_NONEGangZoneShowForAll(Zone[DESERT], -66);
    else if(
tCP[DESERT] == ASIAGangZoneShowForAll(Zone[DESERT], ZONE_ASIA_COLOR);
    else if(
tCP[DESERT] == AFRICAGangZoneShowForAll(Zone[DESERT], ZONE_AFRICA_COLOR);
    else if(
tCP[DESERT] == EUROPEGangZoneShowForAll(Zone[DESERT], ZONE_EUROPE_COLOR);
    else if(
tCP[DESERT] == AUSTRALIAGangZoneShowForAll(Zone[DESERT], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[DESERT] == AMERICAGangZoneShowForAll(Zone[DESERT], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[QUARRY] == TEAM_NONEGangZoneShowForAll(Zone[QUARRY], -66);
    else if(
tCP[QUARRY] == ASIAGangZoneShowForAll(Zone[QUARRY], ZONE_ASIA_COLOR);
    else if(
tCP[QUARRY] == AFRICAGangZoneShowForAll(Zone[QUARRY], ZONE_AFRICA_COLOR);
    else if(
tCP[QUARRY] == EUROPEGangZoneShowForAll(Zone[QUARRY], ZONE_EUROPE_COLOR);
    else if(
tCP[QUARRY] == AUSTRALIAGangZoneShowForAll(Zone[QUARRY], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[QUARRY] == AMERICAGangZoneShowForAll(Zone[QUARRY], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[GUEST] == TEAM_NONEGangZoneShowForAll(Zone[GUEST], -66);
    else if(
tCP[GUEST] == ASIAGangZoneShowForAll(Zone[GUEST], ZONE_ASIA_COLOR);
    else if(
tCP[GUEST] == AFRICAGangZoneShowForAll(Zone[GUEST], ZONE_AFRICA_COLOR);
    else if(
tCP[GUEST] == EUROPEGangZoneShowForAll(Zone[GUEST], ZONE_EUROPE_COLOR);
    else if(
tCP[GUEST] == AUSTRALIAGangZoneShowForAll(Zone[GUEST], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[GUEST] == AMERICAGangZoneShowForAll(Zone[GUEST], ZONE_AMERICA_COLOR);
    
//------
    
if(tCP[EAR] == TEAM_NONEGangZoneShowForAll(Zone[EAR], -66);
    else if(
tCP[EAR] == ASIAGangZoneShowForAll(Zone[EAR], ZONE_ASIA_COLOR);
    else if(
tCP[EAR] == AFRICAGangZoneShowForAll(Zone[EAR], ZONE_AFRICA_COLOR);
    else if(
tCP[EAR] == EUROPEGangZoneShowForAll(Zone[EAR], ZONE_EUROPE_COLOR);
    else if(
tCP[EAR] == AUSTRALIAGangZoneShowForAll(Zone[EAR], ZONE_AUSTRALIA_COLOR);
    else if(
tCP[EAR] == AMERICAGangZoneShowForAll(Zone[EAR], ZONE_AMERICA_COLOR);
    
//-----
    
SendClientMessage(playerid, -1""COL_WHITE"Stream audio from server MP3 player, Type "COL_GREEN"/Mp3 "COL_WHITE"for music.");
    
UpdateTimer[playerid] = KillTimer(UpdateTimer[playerid]);
    if(
Captured[playerid][SNAKE] == && IsPlayerCapturing[playerid][SNAKE] == 1)
    { 
LeavingSnakeFarm(playerid); }
    if(
Captured[playerid][BAY] == && IsPlayerCapturing[playerid][BAY] == 1)
    { 
LeavingBay(playerid); }
    if(
Captured[playerid][BIG] == && IsPlayerCapturing[playerid][BIG] == 1)
    { 
LeavingEar(playerid); }
    if(
Captured[playerid][ARMY] == && IsPlayerCapturing[playerid][ARMY] == 1)
    { 
LeavingArmy(playerid); }
    if(
Captured[playerid][PETROL] == && IsPlayerCapturing[playerid][PETROL] == 1)
    { 
LeavingPetrol(playerid); }
    if(
Captured[playerid][OIL] == && IsPlayerCapturing[playerid][OIL] == 1)
    { 
LeavingOil(playerid); }
    if(
Captured[playerid][DESERT] == && IsPlayerCapturing[playerid][DESERT] == 1)
    { 
LeavingDesert(playerid); }
    if(
Captured[playerid][QUARRY] == && IsPlayerCapturing[playerid][QUARRY] == 1)
    { 
LeavingQuarry(playerid);}
    if(
Captured[playerid][GUEST] == && IsPlayerCapturing[playerid][GUEST] == 1)
    { 
LeavingGuest(playerid);}
    if(
Captured[playerid][EAR] == && IsPlayerCapturing[playerid][EAR] == 1)
    { 
LeavingEar(playerid); }
    return 
1;

NOTE: Only Image
Reply
#2

That image is a TextDraw
Reply
#3

PHP код:
//this in top
new new Text:StartTextdraw_[MAX_PLAYERS];
//this under OnGamemodeInit
        
for(new playerid 0playerid MAX_PLAYERSplayerid++)
        {
        
StartTextdraw_[0][playerid] = TextDrawCreate(0.0000000.000000"loadsc9:loadsc9");
        
TextDrawBackgroundColor(StartTextdraw_[0][playerid], 255);
        
TextDrawFont(StartTextdraw_[0][playerid], 4);
        
TextDrawLetterSize(StartTextdraw_[0][playerid], 0.5000001.000000);
        
TextDrawColor(StartTextdraw_[0][playerid], -1);
        
TextDrawSetOutline(StartTextdraw_[0][playerid], 0);
        
TextDrawSetProportional(StartTextdraw_[0][playerid], 1);
        
TextDrawSetShadow(StartTextdraw_[0][playerid], 1);
        
TextDrawUseBox(StartTextdraw_[0][playerid], 1);
        
TextDrawBoxColor(StartTextdraw_[0][playerid], 255);
        
TextDrawTextSize(StartTextdraw_[0][playerid], 640.000000405.000000);
        
TextDrawSetSelectable(StartTextdraw_[0][playerid], 0);
        } 
click and read this and replace loadsc9:loadsc9
Reply
#4

----
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)