[Comments not Closed]
#1

Hi
my problems when im use this comments /showsky and and choose any numbers work fine
when im /closesky and im type any numbers its still Working Why ??
help me please!!!!!
PHP код:
CMD:showsky(playeridparams[])
{
    
ShowSky(playerid);
    
ShowSkyText[playerid] = 1;
    return 
1;
}
CMD:closesky(playeridparams[])
{
    
ShowSkyText[playerid] = 0;
    
SendClientMessage(playerid, -1"This FS By AstanaLol");
    return 
1;

Reply
#2

im sorry i dont understood what you asking for..Can u make it more clear in good lang?
Reply
#3

He means it's still showskying for him, just saying.
Reply
#4

I am unsure what the command is supposed to do and what OP says is going wrong, could you please clarify?
Reply
#5

PHP код:
    ///////////////////////////////My Frist FS By Astana Lol //////////////////////////// Please Dont Remove My Name
#include <a_samp>
#include <zcmd>
new ShowSkyText[MAX_PLAYERS];
new 
Text:Sky0;
new 
Text:Sky1;
new 
Text:Sky3;
new 
Text:Sky4;
new 
Text:Sky5;
new 
Text:Sky6;
new 
Text:Sky7;
new 
Text:Sky8;
new 
Text:Sky9;
new 
Text:Sky10;
new 
Text:Sky11;
new 
Text:Sky12;
new 
Text:Sky13;
new 
Text:Sky14;
new 
Text:Sky15;
new 
Text:Sky16;
new 
Text:Sky17;
new 
Text:Sky18;
new 
Text:Sky19;
new 
Text:Sky20;
new 
Text:Sky21;
new 
Text:Sky22;
new 
Text:Sky23;
new 
Text:Sky24;
new 
Text:Sky25;
new 
Text:Sky26;
new 
Text:Sky27;
stock ShowSky(playerid)
{
         
TextDrawShowForPlayer(playeridSky0);
        
TextDrawShowForPlayer(playeridSky1);
        
TextDrawShowForPlayer(playeridSky3);
        
TextDrawShowForPlayer(playeridSky4);
        
TextDrawShowForPlayer(playeridSky5);
        
TextDrawShowForPlayer(playeridSky6);
        
TextDrawShowForPlayer(playeridSky7);
        
TextDrawShowForPlayer(playeridSky8);
        
TextDrawShowForPlayer(playeridSky9);
        
TextDrawShowForPlayer(playeridSky10);
        
TextDrawShowForPlayer(playeridSky11);
        
TextDrawShowForPlayer(playeridSky12);
        
TextDrawShowForPlayer(playeridSky13);
        
TextDrawShowForPlayer(playeridSky14);
        
TextDrawShowForPlayer(playeridSky15);
        
TextDrawShowForPlayer(playeridSky16);
        
TextDrawShowForPlayer(playeridSky17);
        
TextDrawShowForPlayer(playeridSky18);
        
TextDrawShowForPlayer(playeridSky19);
        
TextDrawShowForPlayer(playeridSky20);
        
TextDrawShowForPlayer(playeridSky21);
        
TextDrawShowForPlayer(playeridSky22);
        
TextDrawShowForPlayer(playeridSky23);
        
TextDrawShowForPlayer(playeridSky24);
        
TextDrawShowForPlayer(playeridSky25);
        
TextDrawShowForPlayer(playeridSky26);
        
TextDrawShowForPlayer(playeridSky27);
}
stock HideSky(playerid)
{
    
TextDrawHideForPlayer(playeridSky0);
    
TextDrawHideForPlayer(playeridSky1);
    
TextDrawHideForPlayer(playeridSky3);
    
TextDrawHideForPlayer(playeridSky4);
    
TextDrawHideForPlayer(playeridSky5);
    
TextDrawHideForPlayer(playeridSky6);
    
TextDrawHideForPlayer(playeridSky7);
    
TextDrawHideForPlayer(playeridSky8);
    
TextDrawHideForPlayer(playeridSky9);
    
TextDrawHideForPlayer(playeridSky10);
    
TextDrawHideForPlayer(playeridSky11);
    
TextDrawHideForPlayer(playeridSky12);
    
TextDrawHideForPlayer(playeridSky13);
    
TextDrawHideForPlayer(playeridSky14);
    
TextDrawHideForPlayer(playeridSky15);
    
TextDrawHideForPlayer(playeridSky16);
    
TextDrawHideForPlayer(playeridSky17);
    
TextDrawHideForPlayer(playeridSky18);
    
TextDrawHideForPlayer(playeridSky19);
    
TextDrawHideForPlayer(playeridSky20);
    
TextDrawHideForPlayer(playeridSky21);
    
TextDrawHideForPlayer(playeridSky22);
    
TextDrawHideForPlayer(playeridSky23);
    
TextDrawHideForPlayer(playeridSky24);
    
TextDrawHideForPlayer(playeridSky25);
    
TextDrawHideForPlayer(playeridSky26);
    
TextDrawHideForPlayer(playeridSky27);
}
public 
OnPlayerText(playeridtext[])
{
    if(
text[0] == '1')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid1686.9702,-1312.8329,872.7163);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '2')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -2112.7942,659.1328,875.6769);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '3')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid2343.6409,1521.8400,732.7235);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '4')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -2325.4336,-1577.2311,831.6756);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '5')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid, -227.6763,58.2109,882.4087);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '6')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid530.2466,2342.7766,850.5984);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '7')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -1227.7010,1782.9180,896.1829);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    return 
1;
}
CMD:showsky(playeridparams[])
{
    
ShowSky(playerid);
    
ShowSkyText[playerid] = 1;
    return 
1;
}
CMD:closesky(playeridparams[])
{
    
ShowSkyText[playerid] = 0;
    
SendClientMessage(playerid, -1"This FS By AstanaLol");
    return 
1;

all my script
i made it and its work fine
but when im choose any numbers type it
not closed :/
------------------------
i mean when im done 1 skydive
textdraw closed but the choose with numbers no
Reply
#6

What it supposed to do? explain more
Reply
#7

You have HideSky function but you never used it in closesky function, so try this:
PHP код:
    ///////////////////////////////My Frist FS By Astana Lol //////////////////////////// Please Dont Remove My Name
#include <a_samp>
#include <zcmd>
new ShowSkyText[MAX_PLAYERS];
new 
Text:Sky0;
new 
Text:Sky1;
new 
Text:Sky3;
new 
Text:Sky4;
new 
Text:Sky5;
new 
Text:Sky6;
new 
Text:Sky7;
new 
Text:Sky8;
new 
Text:Sky9;
new 
Text:Sky10;
new 
Text:Sky11;
new 
Text:Sky12;
new 
Text:Sky13;
new 
Text:Sky14;
new 
Text:Sky15;
new 
Text:Sky16;
new 
Text:Sky17;
new 
Text:Sky18;
new 
Text:Sky19;
new 
Text:Sky20;
new 
Text:Sky21;
new 
Text:Sky22;
new 
Text:Sky23;
new 
Text:Sky24;
new 
Text:Sky25;
new 
Text:Sky26;
new 
Text:Sky27;
ShowSky(playerid)
{
        
TextDrawShowForPlayer(playeridSky0);
        
TextDrawShowForPlayer(playeridSky1);
        
TextDrawShowForPlayer(playeridSky3);
        
TextDrawShowForPlayer(playeridSky4);
        
TextDrawShowForPlayer(playeridSky5);
        
TextDrawShowForPlayer(playeridSky6);
        
TextDrawShowForPlayer(playeridSky7);
        
TextDrawShowForPlayer(playeridSky8);
        
TextDrawShowForPlayer(playeridSky9);
        
TextDrawShowForPlayer(playeridSky10);
        
TextDrawShowForPlayer(playeridSky11);
        
TextDrawShowForPlayer(playeridSky12);
        
TextDrawShowForPlayer(playeridSky13);
        
TextDrawShowForPlayer(playeridSky14);
        
TextDrawShowForPlayer(playeridSky15);
        
TextDrawShowForPlayer(playeridSky16);
        
TextDrawShowForPlayer(playeridSky17);
        
TextDrawShowForPlayer(playeridSky18);
        
TextDrawShowForPlayer(playeridSky19);
        
TextDrawShowForPlayer(playeridSky20);
        
TextDrawShowForPlayer(playeridSky21);
        
TextDrawShowForPlayer(playeridSky22);
        
TextDrawShowForPlayer(playeridSky23);
        
TextDrawShowForPlayer(playeridSky24);
        
TextDrawShowForPlayer(playeridSky25);
        
TextDrawShowForPlayer(playeridSky26);
        
TextDrawShowForPlayer(playeridSky27);
}
HideSky(playerid)
{
    
TextDrawHideForPlayer(playeridSky0);
    
TextDrawHideForPlayer(playeridSky1);
    
TextDrawHideForPlayer(playeridSky3);
    
TextDrawHideForPlayer(playeridSky4);
    
TextDrawHideForPlayer(playeridSky5);
    
TextDrawHideForPlayer(playeridSky6);
    
TextDrawHideForPlayer(playeridSky7);
    
TextDrawHideForPlayer(playeridSky8);
    
TextDrawHideForPlayer(playeridSky9);
    
TextDrawHideForPlayer(playeridSky10);
    
TextDrawHideForPlayer(playeridSky11);
    
TextDrawHideForPlayer(playeridSky12);
    
TextDrawHideForPlayer(playeridSky13);
    
TextDrawHideForPlayer(playeridSky14);
    
TextDrawHideForPlayer(playeridSky15);
    
TextDrawHideForPlayer(playeridSky16);
    
TextDrawHideForPlayer(playeridSky17);
    
TextDrawHideForPlayer(playeridSky18);
    
TextDrawHideForPlayer(playeridSky19);
    
TextDrawHideForPlayer(playeridSky20);
    
TextDrawHideForPlayer(playeridSky21);
    
TextDrawHideForPlayer(playeridSky22);
    
TextDrawHideForPlayer(playeridSky23);
    
TextDrawHideForPlayer(playeridSky24);
    
TextDrawHideForPlayer(playeridSky25);
    
TextDrawHideForPlayer(playeridSky26);
    
TextDrawHideForPlayer(playeridSky27);
}
public 
OnPlayerText(playeridtext[])
{
    if(
text[0] == '1')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid1686.9702,-1312.8329,872.7163);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '2')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -2112.7942,659.1328,875.6769);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '3')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid2343.6409,1521.8400,732.7235);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '4')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -2325.4336,-1577.2311,831.6756);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '5')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid, -227.6763,58.2109,882.4087);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '6')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid530.2466,2342.7766,850.5984);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '7')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -1227.7010,1782.9180,896.1829);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    return 
1;
}
CMD:showsky(playeridparams[])
{
    
ShowSky(playerid);
    
ShowSkyText[playerid] = 1;
    return 
1;
}
CMD:closesky(playeridparams[])
{
    
ShowSkyText[playerid] = 0;
    
HideSky(playerid);
    
SendClientMessage(playerid, -1"This FS By AstanaLol");
    return 
1;

about your "stock(s)": https://sampforum.blast.hk/showthread.php?tid=570635
Reply
#8

Quote:
Originally Posted by jlalt
Посмотреть сообщение
You have HideSky function but you never used it in closesky function, so try this:
PHP код:
    ///////////////////////////////My Frist FS By Astana Lol //////////////////////////// Please Dont Remove My Name
#include <a_samp>
#include <zcmd>
new ShowSkyText[MAX_PLAYERS];
new 
Text:Sky0;
new 
Text:Sky1;
new 
Text:Sky3;
new 
Text:Sky4;
new 
Text:Sky5;
new 
Text:Sky6;
new 
Text:Sky7;
new 
Text:Sky8;
new 
Text:Sky9;
new 
Text:Sky10;
new 
Text:Sky11;
new 
Text:Sky12;
new 
Text:Sky13;
new 
Text:Sky14;
new 
Text:Sky15;
new 
Text:Sky16;
new 
Text:Sky17;
new 
Text:Sky18;
new 
Text:Sky19;
new 
Text:Sky20;
new 
Text:Sky21;
new 
Text:Sky22;
new 
Text:Sky23;
new 
Text:Sky24;
new 
Text:Sky25;
new 
Text:Sky26;
new 
Text:Sky27;
ShowSky(playerid)
{
        
TextDrawShowForPlayer(playeridSky0);
        
TextDrawShowForPlayer(playeridSky1);
        
TextDrawShowForPlayer(playeridSky3);
        
TextDrawShowForPlayer(playeridSky4);
        
TextDrawShowForPlayer(playeridSky5);
        
TextDrawShowForPlayer(playeridSky6);
        
TextDrawShowForPlayer(playeridSky7);
        
TextDrawShowForPlayer(playeridSky8);
        
TextDrawShowForPlayer(playeridSky9);
        
TextDrawShowForPlayer(playeridSky10);
        
TextDrawShowForPlayer(playeridSky11);
        
TextDrawShowForPlayer(playeridSky12);
        
TextDrawShowForPlayer(playeridSky13);
        
TextDrawShowForPlayer(playeridSky14);
        
TextDrawShowForPlayer(playeridSky15);
        
TextDrawShowForPlayer(playeridSky16);
        
TextDrawShowForPlayer(playeridSky17);
        
TextDrawShowForPlayer(playeridSky18);
        
TextDrawShowForPlayer(playeridSky19);
        
TextDrawShowForPlayer(playeridSky20);
        
TextDrawShowForPlayer(playeridSky21);
        
TextDrawShowForPlayer(playeridSky22);
        
TextDrawShowForPlayer(playeridSky23);
        
TextDrawShowForPlayer(playeridSky24);
        
TextDrawShowForPlayer(playeridSky25);
        
TextDrawShowForPlayer(playeridSky26);
        
TextDrawShowForPlayer(playeridSky27);
}
HideSky(playerid)
{
    
TextDrawHideForPlayer(playeridSky0);
    
TextDrawHideForPlayer(playeridSky1);
    
TextDrawHideForPlayer(playeridSky3);
    
TextDrawHideForPlayer(playeridSky4);
    
TextDrawHideForPlayer(playeridSky5);
    
TextDrawHideForPlayer(playeridSky6);
    
TextDrawHideForPlayer(playeridSky7);
    
TextDrawHideForPlayer(playeridSky8);
    
TextDrawHideForPlayer(playeridSky9);
    
TextDrawHideForPlayer(playeridSky10);
    
TextDrawHideForPlayer(playeridSky11);
    
TextDrawHideForPlayer(playeridSky12);
    
TextDrawHideForPlayer(playeridSky13);
    
TextDrawHideForPlayer(playeridSky14);
    
TextDrawHideForPlayer(playeridSky15);
    
TextDrawHideForPlayer(playeridSky16);
    
TextDrawHideForPlayer(playeridSky17);
    
TextDrawHideForPlayer(playeridSky18);
    
TextDrawHideForPlayer(playeridSky19);
    
TextDrawHideForPlayer(playeridSky20);
    
TextDrawHideForPlayer(playeridSky21);
    
TextDrawHideForPlayer(playeridSky22);
    
TextDrawHideForPlayer(playeridSky23);
    
TextDrawHideForPlayer(playeridSky24);
    
TextDrawHideForPlayer(playeridSky25);
    
TextDrawHideForPlayer(playeridSky26);
    
TextDrawHideForPlayer(playeridSky27);
}
public 
OnPlayerText(playeridtext[])
{
    if(
text[0] == '1')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid1686.9702,-1312.8329,872.7163);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '2')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -2112.7942,659.1328,875.6769);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '3')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid2343.6409,1521.8400,732.7235);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '4')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -2325.4336,-1577.2311,831.6756);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '5')
    {
        if(
ShowSkyText[playerid] == 1)
        {
          
GivePlayerWeapon(playerid4646);
          
SetPlayerPos(playerid, -227.6763,58.2109,882.4087);
          
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '6')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid530.2466,2342.7766,850.5984);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    if(
text[0] == '7')
    {
        if(
ShowSkyText[playerid] == 1)
        {
            
GivePlayerWeapon(playerid4646);
            
SetPlayerPos(playerid, -1227.7010,1782.9180,896.1829);
            
SendClientMessage(playerid, -1"This FS By AstanaLol");
        }
    }
    return 
1;
}
CMD:showsky(playeridparams[])
{
    
ShowSky(playerid);
    
ShowSkyText[playerid] = 1;
    return 
1;
}
CMD:closesky(playeridparams[])
{
    
ShowSkyText[playerid] = 0;
    
HideSky(playerid);
    
SendClientMessage(playerid, -1"This FS By AstanaLol");
    return 
1;

about your "stock(s)": https://sampforum.blast.hk/showthread.php?tid=570635
i mean how to off
PHP код:
OnPlayerText 
becouse its my problems
its not close :3 still after type first time that numbers i can write more :/ i cant close that numbers
Reply
#9

PHP код:
public OnPlayerText(playeridtext[]) 

    if(
ShowSkyText[playerid] == 1) {
    if(
text[0] == '1'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
          
GivePlayerWeapon(playerid4646); 
          
SetPlayerPos(playerid1686.9702,-1312.8329,872.7163); 
          
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '2'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid, -2112.7942,659.1328,875.6769); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '3'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
          
GivePlayerWeapon(playerid4646); 
          
SetPlayerPos(playerid2343.6409,1521.8400,732.7235); 
          
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '4'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid, -2325.4336,-1577.2311,831.6756); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '5'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
          
GivePlayerWeapon(playerid4646); 
          
SetPlayerPos(playerid, -227.6763,58.2109,882.4087); 
          
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '6'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid530.2466,2342.7766,850.5984); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '7'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid, -1227.7010,1782.9180,896.1829); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    }
    return 
1

P.S: fix identation
Reply
#10

Quote:
Originally Posted by Shinja
Посмотреть сообщение
PHP код:
public OnPlayerText(playeridtext[]) 

    if(
ShowSkyText[playerid] == 1) {
    if(
text[0] == '1'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
          
GivePlayerWeapon(playerid4646); 
          
SetPlayerPos(playerid1686.9702,-1312.8329,872.7163); 
          
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '2'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid, -2112.7942,659.1328,875.6769); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '3'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
          
GivePlayerWeapon(playerid4646); 
          
SetPlayerPos(playerid2343.6409,1521.8400,732.7235); 
          
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '4'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid, -2325.4336,-1577.2311,831.6756); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '5'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
          
GivePlayerWeapon(playerid4646); 
          
SetPlayerPos(playerid, -227.6763,58.2109,882.4087); 
          
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '6'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid530.2466,2342.7766,850.5984); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    if(
text[0] == '7'
    { 
        if(
ShowSkyText[playerid] == 1
        { 
            
GivePlayerWeapon(playerid4646); 
            
SetPlayerPos(playerid, -1227.7010,1782.9180,896.1829); 
            
SendClientMessage(playerid, -1"This FS By AstanaLol"); 
        } 
    } 
    }
    return 
1

P.S: fix identation
thanks its fixed
but i want know what you edit to fix it
to learn from my mistake
Thanks, +reps
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)