[FilterScript] Mostrando o Local (LS/SF/LV/SA).
#1

[FilterScript]Mostrando o Local (LS/SF/LV/SA).

Prints





PHP код:
#include <a_samp>
new Text:LVText:LSText:SFText:LIN;
public 
OnFilterScriptInit()
{
    
LV TextDrawCreate(318.000000430.000000"~b~Las Venturas");
    
TextDrawAlignment(LV2);
    
TextDrawBackgroundColor(LV, -16776961);
    
TextDrawFont(LV3);
    
TextDrawLetterSize(LV0.4800001.600000);
    
TextDrawColor(LV, -1);
    
TextDrawSetOutline(LV1);
    
TextDrawSetProportional(LV1);
    
LIN TextDrawCreate(318.000000430.000000"~b~San Andreas");
    
TextDrawAlignment(LIN2);
    
TextDrawBackgroundColor(LIN, -16776961);
    
TextDrawFont(LIN3);
    
TextDrawLetterSize(LIN0.4800001.600000);
    
TextDrawColor(LIN, -1);
    
TextDrawSetOutline(LIN1);
    
TextDrawSetProportional(LIN1);
    
SF TextDrawCreate(318.000000430.000000"~b~San Fierro");
    
TextDrawAlignment(SF2);
    
TextDrawBackgroundColor(SF, -16776961);
    
TextDrawFont(SF3);
    
TextDrawLetterSize(SF0.4800001.600000);
    
TextDrawColor(SF, -1);
    
TextDrawSetOutline(SF1);
    
TextDrawSetProportional(SF1);
    
LS TextDrawCreate(318.000000430.000000"~b~Los Santos");
    
TextDrawAlignment(LS2);
    
TextDrawBackgroundColor(LS, -16776961);
    
TextDrawFont(LS3);
    
TextDrawLetterSize(LS0.4800001.600000);
    
TextDrawColor(LS, -1);
    
TextDrawSetOutline(LS1);
    
TextDrawSetProportional(LS1);
    return 
1;
}
public 
OnFilterScriptExit()
{
    
TextDrawHideForAll(LV);
    
TextDrawHideForAll(LS);
    
TextDrawHideForAll(SF);
    
TextDrawHideForAll(LIN);
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    new 
Float:XFloat:YFloat:Z;
    
GetPlayerPos(playeridXYZ);
    if(
>= 815 && <= 3000 && >= 717 && <= 3000)
    {
        
TextDrawHideForPlayer(playeridLS);
        
TextDrawHideForPlayer(playeridSF);
        
TextDrawHideForPlayer(playeridLIN);
        
TextDrawShowForPlayer(playeridLV);
    }
    if(
0)
    {
        
TextDrawHideForPlayer(playeridLS);
        
TextDrawHideForPlayer(playeridLV);
        
TextDrawHideForPlayer(playeridLIN);
        
TextDrawShowForPlayer(playeridSF);
    }
    if(
&& 0)
    {
        
TextDrawHideForPlayer(playeridSF);
        
TextDrawHideForPlayer(playeridLV);
        
TextDrawHideForPlayer(playeridLIN);
        
TextDrawShowForPlayer(playeridLS);
    }
    if(!(
>= 815 && <= 3000 && >= 717 && <= 3000) && !(0) && !(&& 0))
    {
        
TextDrawHideForPlayer(playeridLV);
        
TextDrawHideForPlayer(playeridLS);
        
TextDrawHideForPlayer(playeridSF);
        
TextDrawShowForPlayer(playeridLIN);
    }
    return 
1;

Creditos
Dan - CODE.
iSimir - Vi Um Post dele e tive a ideia do CODE.
DJLoko- TextDraw.
Reply


Messages In This Thread
Mostrando o Local (LS/SF/LV/SA). - by DanDRT - 20.03.2013, 19:02
Re: Mostrando o Local (LS/SF/LV/SA). - by Maklister - 20.03.2013, 19:11
Re: Mostrando o Local (LS/SF/LV/SA). - by DanDRT - 20.03.2013, 19:14
Re: Mostrando o Local (LS/SF/LV/SA). - by Vitor_Gorzoni - 21.03.2013, 00:22
Re: Mostrando o Local (LS/SF/LV/SA). - by Kuddy - 21.03.2013, 01:48
Re: Mostrando o Local (LS/SF/LV/SA). - by DanDRT - 21.03.2013, 11:46
Re: Mostrando o Local (LS/SF/LV/SA). - by Maklister - 21.03.2013, 14:06
Re: Mostrando o Local (LS/SF/LV/SA). - by RebeloX - 21.03.2013, 14:06
Re: Mostrando o Local (LS/SF/LV/SA). - by Dwayne-Pheonix - 21.03.2013, 14:51
Re: Mostrando o Local (LS/SF/LV/SA). - by Kuddy - 21.03.2013, 15:19

Forum Jump:


Users browsing this thread: 2 Guest(s)