[FilterScript] [Weapon Menu]Team_PRO[Version 1.1 Fixed]
#1

Hello This Is my Third Filterscipt Weapon Menu

Includes

  • All of Weapon
  • Added Dialog Box
  • Infinite Ammo

Photo:


Code If You Want


Version 1.2
PHP код:
#include <a_samp> 
#define DIALOGID 1337 
#if defined FILTERSCRIPT 
public OnFilterScriptInit() 

    print(
"\n--------------------------------------"); 
    print(
" Weapon Menu by Team_PRO is Loaded [V1.2]"); 
    print(
"--------------------------------------\n"); 
    return 
1

public 
OnFilterScriptExit() 

    return 
1

#else 
main() 

    print(
"\n----------------------------------"); 
    print(
" Weapon List By Team_PRO is Unloaded [V1.2]"); 
    print(
"----------------------------------\n"); 

#endif 
public OnGameModeInit() 

    
// Don't use these lines if it's a filterscript 
    
SetGameModeText("Stunt|DM|Fun|Derby"); 
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000); 
    return 
1

public 
OnGameModeExit() 

    print(
"\n--------------------------------------"); 
    print(
" Weapon Menu by Team_PRO is Unloaded [V1.2]"); 
    print(
"--------------------------------------\n"); 
    return 
1

public 
OnPlayerCommandText(playeridcmdtext[]) 

    if (
strcmp("/shop"cmdtexttrue10) == 0
    { 
        
ShowPlayerDialog(playeridDIALOGIDDIALOG_STYLE_LIST"Weapon Lists""{00FF00}Melees\n{00FF00}Pistols\n{00FF00}Sub-Machine Guns\n{00FF00}Rifle's\n{00FF00}Assault Rifle\n{00FF00}Shotgun\n{00FF00}Heavy Weapon\n{00FF00}Thrown\n{00FF00}Other Melees""Select""Cancel"); 
        
SendClientMessage(playerid,1,"You've Been Opened The Weapon Menu/Shop"); 
        return 
1
    } 
    return 
0

public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[]) 

    if(
dialogid == DIALOGID
    { 
        if(
response
        { 
            if(
listitem == 0)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+1DIALOG_STYLE_LIST"Weapon Menu""Knuckle Dusters\nGolf Club\nNite Stick\nKnife\nBat\nShovel\nPool Cue\nKatana\nDildo\nSpray Can\n""Select""Cancel"); 
            } 
            if(
listitem == 1)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+2DIALOG_STYLE_LIST"Weapon Menu""9mm\nSilenced 9mm\nDesert Eagle""Get""Cancel"); 
            } 
            if(
listitem == 2)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+3DIALOG_STYLE_LIST"Weapon Menu""Uzi\nSMG\nTec9""Get""Cancel"); 
            } 
            if(
listitem == 3)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+4DIALOG_STYLE_LIST"Weapon Menu""Country Rifle\nSniper Rifle""Get""Cancel"); 
            } 
            if(
listitem == 4)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+5DIALOG_STYLE_LIST"Weapon Menu""AK-47\nM4""Get""Cancel"); 
            } 
            if(
listitem == 5)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+6DIALOG_STYLE_LIST"Weapon Menu""Standard Shotgun\nSawnoff Shotgun\nCombat Shotgun""Get""Cancel"); 
            } 
            if(
listitem == 6)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+7DIALOG_STYLE_LIST"Weapon Menu""Rocket Laucher\nHeat Seaker\nMinigun\nChain Saw""Get""Cancel"); 
            } 
            if(
listitem == 7)  
            { 
                
ShowPlayerDialog(playeridDIALOGID+8DIALOG_STYLE_LIST"Weapon Menu""Granade\nTear Gas""Get""Cancel"); 
            } 
            if(
listitem == 8
            { 
                
ShowPlayerDialog(playeridDIALOGID+9DIALOG_STYLE_LIST"Weapon Menu""Fire Extinguisher\nSatchel Charge\nParachute\nNightvision Goggles\nFlowers""Get""Cancel"); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+1)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerWeapon(playerid11); 
                
GivePlayerMoney(playerid,-500); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerWeapon(playerid21); 
                
GivePlayerMoney(playerid,-500); 
            } 
            if(
listitem == 2
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid31); 
            } 
            if(
listitem == 3
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid41); 
            } 
            if(
listitem == 4
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid51); 
            } 
            if(
listitem == 5
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid61); 
            } 
            if(
listitem == 6
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid71); 
            } 
            if(
listitem == 7
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid81); 
            } 
            if(
listitem == 8
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid101); 
            } 
            if(
listitem == 9
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid4199999); 
            } 
            if(
listitem == 10
            { 
                
GivePlayerMoney(playerid,-500); 
                
GivePlayerWeapon(playerid151); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+2)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2299999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2399999); 
            } 
            if(
listitem == 2
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2499999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+3)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2899999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2999999); 
            } 
            if(
listitem == 2
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3299999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+4)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3399999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3499999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+5)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3099999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3199999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+6
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2599999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid2699999); 
            } 
            if(
listitem == 2
            { 
                  
GivePlayerMoney(playerid,-5000); 
                  
GivePlayerWeapon(playerid2799999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+7)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3599999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3699999); 
            } 
            if(
listitem == 2
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid3899999); 
            } 
            if(
listitem == 3
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid999999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+8)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid1699999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid1799999); 
            } 
        } 
        return 
1
    } 
    if(
dialogid == DIALOGID+9)  
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid4299999); 
            } 
            if(
listitem == 1
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid391); 
                
GivePlayerWeapon(playerid401); 
            } 
            if(
listitem == 2
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid461); 
            } 
            if(
listitem == 3
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid441); 
            } 
            if(
listitem == 4
            { 
                
GivePlayerMoney(playerid,-5000); 
                
GivePlayerWeapon(playerid141); 
            } 
        } 
        return 
1
    } 
    return 
0
 } 
Version 1.1
PHP код:
#include <a_samp>
#define DIALOGID 1337
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" Weapon Menu by Team_PRO is Loaded [V1.1]");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
#else
main()
{
    print(
"\n----------------------------------");
    print(
" Weapon List By Team_PRO is Unloaded [V1.1]");
    print(
"----------------------------------\n");
}
#endif
public OnGameModeInit()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("Stunt|DM|Fun|Derby");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    return 
1;
}
public 
OnGameModeExit()
{
    print(
"\n--------------------------------------");
    print(
" Weapon Menu by Team_PRO is Unloaded [V1.1]");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/shop"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playeridDIALOGIDDIALOG_STYLE_LIST"Weapon Lists""{00FF00}Melees\n{00FF00}Pistols\n{00FF00}Sub-Machine Guns\n{00FF00}Rifle's\n{00FF00}Assault Rifle\n{00FF00}Shotgun\n{00FF00}Heavy Weapon\n{00FF00}Thrown\n{00FF00}Other Melees""Select""Cancel");
         
SendClientMessage(playerid,1,"You've Been Opened The Weapon Menu/Shop");
        return 
1;
    }
    return 
0;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == DIALOGID)
    {
        if(
response)
        {
            if(
listitem == 0
            {
                
ShowPlayerDialog(playeridDIALOGID+1DIALOG_STYLE_LIST"Weapon Menu""Knuckle Dusters\nGolf Club\nNite Stick\nKnife\nBat\nShovel\nPool Cue\nKatana\nDildo\nSpray Can\n""Select""Cancel");
            }
            if(
listitem == 1
            {
                
ShowPlayerDialog(playeridDIALOGID+2DIALOG_STYLE_LIST"Weapon Menu""9mm\nSilenced 9mm\nDesert Eagle""Get""Cancel");
            }
            if(
listitem == 2
            {
                
ShowPlayerDialog(playeridDIALOGID+3DIALOG_STYLE_LIST"Weapon Menu""Uzi\nSMG\nTec9""Get""Cancel");
            }
            if(
listitem == 3
            {
                
ShowPlayerDialog(playeridDIALOGID+4DIALOG_STYLE_LIST"Weapon Menu""Country Rifle\nSniper Rifle""Get""Cancel");
            }
            if(
listitem == 4
            {
                
ShowPlayerDialog(playeridDIALOGID+5DIALOG_STYLE_LIST"Weapon Menu""AK-47\nM4""Get""Cancel");
            }
            if(
listitem == 5
            {
                
ShowPlayerDialog(playeridDIALOGID+6DIALOG_STYLE_LIST"Weapon Menu""Standard Shotgun\nSawnoff Shotgun\nCombat Shotgun""Get""Cancel");
            }
            if(
listitem == 6
            {
                
ShowPlayerDialog(playeridDIALOGID+7DIALOG_STYLE_LIST"Weapon Menu""Rocket Laucher\nHeat Seaker\nMinigun\nChain Saw""Get""Cancel");
            }
            if(
listitem == 7
            {
                
ShowPlayerDialog(playeridDIALOGID+8DIALOG_STYLE_LIST"Weapon Menu""Granade\nTear Gas""Get""Cancel");
            }
            if(
listitem == 8)
            {
                
ShowPlayerDialog(playeridDIALOGID+9DIALOG_STYLE_LIST"Weapon Menu""Fire Extinguisher\nSatchel Charge\nParachute\nNightvision Goggles\nFlowers""Get""Cancel");
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+1
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid11);
                
GivePlayerMoney(playerid,-500);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid21);
                
GivePlayerMoney(playerid,-500);
            }
            if(
listitem == 2)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid31);
            }
            if(
listitem == 3)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid41);
            }
            if(
listitem == 4)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid51);
            }
            if(
listitem == 5)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid61);
            }
            if(
listitem == 6)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid71);
            }
            if(
listitem == 7)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid81);
            }
            if(
listitem == 8)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid101);
            }
            if(
listitem == 9)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid4199999);
            }
            if(
listitem == 10)
            {
                
GivePlayerMoney(playerid,-500);
                
GivePlayerWeapon(playerid151);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+2
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2299999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2399999);
            }
            if(
listitem == 2)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2499999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+3
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2899999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2999999);
            }
            if(
listitem == 2)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3299999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+4
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3399999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3499999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+5
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3099999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3199999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+6)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2599999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid2699999);
            }
            if(
listitem == 2)
            {
                  
GivePlayerMoney(playerid,-5000);
                  
GivePlayerWeapon(playerid2799999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+7
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3599999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3699999);
            }
            if(
listitem == 2)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid3899999);
            }
            if(
listitem == 3)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid999999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+8
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid1699999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid1799999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+9
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid4299999);
            }
            if(
listitem == 1)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid391);
                
GivePlayerWeapon(playerid401);
            }
            if(
listitem == 2)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid461);
            }
            if(
listitem == 3)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid441);
            }
            if(
listitem == 4)
            {
                
GivePlayerMoney(playerid,-5000);
                
GivePlayerWeapon(playerid141);
            }
        }
        return 
1;
    }
    return 
0;
 } 


Version 1.0
PHP код:
#include <a_samp>
#define DIALOGID 1337
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" Weapon Menu by Team_PRO is Loaded [V1.0]");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
#else
main()
{
    print(
"\n----------------------------------");
    print(
" Weapon List By Team_PRO is Unloaded [V1.0]");
    print(
"----------------------------------\n");
}
#endif
public OnGameModeInit()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("Edit me Inside The Pawno");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    return 
1;
}
public 
OnGameModeExit()
{
    print(
"\n--------------------------------------");
    print(
" Weapon Menu by Team_PRO is Unloaded [V1.0]");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
SendClientMessage(playerid,-1,"This Server Used Weapon List By Team_PRO");
    return 
1;
}
public 
OnPlayerText(playeridtext[])
{
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/shop"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playeridDIALOGIDDIALOG_STYLE_LIST"Weapon Lists""Melees\nPistols\nSub-Machine Guns\nRifle's\nAssault Rifle\nShotgun\nHeavy Weapon\nThrown\nOther Melees""Select""Cancel");
         
SendClientMessage(playerid,1,"You've Been Opened The Weapon Menu/Shop");
        return 
1;
    }
    return 
0;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == DIALOGID)
    {
        if(
response)
        {
            if(
listitem == 0
            {
                
ShowPlayerDialog(playeridDIALOGID+1DIALOG_STYLE_LIST"Weapon Menu(By Team_PRO)(All Weapon Is In Here)""Knuckle Dusters\nGolf Club\nNite Stick\nKnife\nBat\nShovel\nPool Cue\nKatana\nDildo\nSpray Can\n""Select""Cancel");
            }
            if(
listitem == 1
            {
                
ShowPlayerDialog(playeridDIALOGID+2DIALOG_STYLE_LIST"Weapon Menu""9mm\nSilenced 9mm\nDesert Eagle""Get""Cancel");
            }
            if(
listitem == 2
            {
                
ShowPlayerDialog(playeridDIALOGID+3DIALOG_STYLE_LIST"Weapon Menu""Uzi\nSMG\nTec9""Get""Cancel");
            }
            if(
listitem == 3
            {
                
ShowPlayerDialog(playeridDIALOGID+4DIALOG_STYLE_LIST"Weapon Menu""Country Rifle\nSniper Rifle""Get""Cancel");
            }
            if(
listitem == 4
            {
                
ShowPlayerDialog(playeridDIALOGID+5DIALOG_STYLE_LIST"Weapon Menu""AK-47\nM4""Get""Cancel");
            }
            if(
listitem == 5
            {
                
ShowPlayerDialog(playeridDIALOGID+6DIALOG_STYLE_LIST"Weapon Menu""Standard Shotgun\nSawnoff Shotgun\nCombat Shotgun""Get""Cancel");
            }
            if(
listitem == 6
            {
                
ShowPlayerDialog(playeridDIALOGID+7DIALOG_STYLE_LIST"Weapon Menu""Rocket Laucher\nHeat Seaker\nMinigun\nChain Saw""Get""Cancel");
            }
            if(
listitem == 7
            {
                
ShowPlayerDialog(playeridDIALOGID+8DIALOG_STYLE_LIST"Weapon Menu""Granade\nTear Gas""Get""Cancel");
            }
            if(
listitem == 8)
            {
                
ShowPlayerDialog(playeridDIALOGID+9DIALOG_STYLE_LIST"Weapon Menu""Fire Extinguisher\nSatchel Charge\nParachute\nNightvision Goggles\nFlowers""Get""Cancel");
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+1
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid11);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid21);
            }
            if(
listitem == 2)
            {
                
GivePlayerWeapon(playerid31);
            }
            if(
listitem == 3)
            {
                
GivePlayerWeapon(playerid41);
            }
            if(
listitem == 4)
            {
                
GivePlayerWeapon(playerid51);
            }
            if(
listitem == 5)
            {
                
GivePlayerWeapon(playerid61);
            }
            if(
listitem == 6)
            {
                
GivePlayerWeapon(playerid71);
            }
            if(
listitem == 7)
            {
                
GivePlayerWeapon(playerid81);
            }
            if(
listitem == 8)
            {
                
GivePlayerWeapon(playerid101);
            }
            if(
listitem == 9)
            {
                
GivePlayerWeapon(playerid4199999);
            }
            if(
listitem == 10)
            {
                
GivePlayerWeapon(playerid151);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+2
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid2299999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid2399999);
            }
            if(
listitem == 2)
            {
                
GivePlayerWeapon(playerid2499999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+3
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid2899999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid2999999);
            }
            if(
listitem == 2)
            {
                
GivePlayerWeapon(playerid3299999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+4
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid3399999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid3499999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+5
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid3099999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid3199999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+6)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid2599999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid2699999);
            }
            if(
listitem == 2)
            {
                  
GivePlayerWeapon(playerid2799999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+7
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid3599999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid3699999);
            }
            if(
listitem == 2)
            {
                
GivePlayerWeapon(playerid3899999);
            }
            if(
listitem == 3)
            {
                
GivePlayerWeapon(playerid999999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+8
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid1699999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid1799999);
            }
        }
        return 
1;
    }
    if(
dialogid == DIALOGID+9
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
GivePlayerWeapon(playerid4299999);
            }
            if(
listitem == 1)
            {
                
GivePlayerWeapon(playerid391);
                
GivePlayerWeapon(playerid401);
            }
            if(
listitem == 2)
            {
                
GivePlayerWeapon(playerid461);
            }
            if(
listitem == 3)
            {
                
GivePlayerWeapon(playerid441);
            }
            if(
listitem == 4)
            {
                
GivePlayerWeapon(playerid141);
            }
        }
        return 
1;
    }
    return 
0;
 } 
PHP код:
Changelog 1.2
-Bug Fixed 
PHP код:
Changelog 1.1
-Bug Fixed
-You Need $500 or $5000 To Buy Weapons 
PHP код:
Changelog 1.0
-Initial Realease 
Reply
#2

Ahh! Its just a basic weapon shop script.
Try to add few new things which makes a difference in this and other weapon shop simple script.
PS.: Good job
Reply
#3

Quote:
Originally Posted by BlueFire_
Посмотреть сообщение
Ahh! Its just a basic weapon shop script.
Try to add few new things which makes a difference in this and other weapon shop simple script.
PS.: Good job
Thx Anyway
Reply
#4

Not Bad
Reply
#5

Quote:
Originally Posted by BlueFire_
Посмотреть сообщение
Ahh! Its just a basic weapon shop script.
Try to add few new things which makes a difference in this and other weapon shop simple script.
PS.: Good job
Well at my point of view it's realy fantastic cause bieng a begniar !!!
Reply
#6

LOL!!
I am not a beginner cause i have a very long relation with samp and got a large histroy of mine
Reply
#7

It's not bad. Nice work. But why is this in the form of a gamemode ..
Reply
#8

pawn Код:
/* Weapon List By Team_PRO © 2012
 Content Rules And Regualtions,Credits,Thanks To,Explaintion,Everything And Nothing,Report,PS,Work Time,Upcoming More FS,PLanning Releases Date,Tool Used,Work Offered:)

 Rules And Regulations
 1)Do NOT Change The Credits
 2)Do NOT STEAL It
 3)Ask Me If Something Is Wrong Don't Edit it


 Credits
 Team_PRO/Edge (Creator,Creator Of Command,Tester,Bug Fixer 100% No Bugs Fully Fixed By Me And Unknow)
 Unknow (Tester)
 Silentshot (Tester,Bug Fixer)


 Explaination
 And Thank You For Using The Newest Weapon List By Team_PRO
 More Filterscipt Coming Soon!!!
 Releases Date September 27 2012
 And Sorry For Long Time Releases Cause My Internet Cutted Out
 Hope You Will Like The Weapon List

 Everything And Nothing
 Look No Errors "Pawn compiler 3.2.3664         Copyright © 1997-2006, ITB CompuPhase"

 Reports Bugs or Something Wrong
 But If You Find Bugs or Something Wrong Please PM Me In SAMP Forums
 or Email Me Mattrobertsantos@yahoo.com or Just Add Me In Skype Id: Edge/mattrobert2

 PS:
 If You Want To Chat Just Add Me In Skype Id: Edge/mattrober2
 Note: Don't Add Me In Skype If You Don't Have Problems With The FS Just Add Me In To Chat

 Work Time
 3-7 Minutes

 Upcoming Filterscrips:
 Rules Dialog System[DONE]
 Weapon Spawner V1.1[DONE]
 Car Spawner V1.0[Not Worked Yet]
 Help Dialog System[WIP|Work in Progress]
 Special Work!!![Not Worked Yet]
 More Coming Soon!!!


 Planning Releases Of Upcoming New Filterscipt:
 September 27, 2012
 October 19, 2012
 November 2, 2012
 November 24, 2012
 December 25, 2012(Chrismas Day)


 Tools Used:
 Pawno
 Dialog Creator
 Complier
*/
That's a long comment for a simple script..
Reply
#9

Good, not bad.
Reply
#10

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
pawn Код:
/* Weapon List By Team_PRO © 2012
 Content Rules And Regualtions,Credits,Thanks To,Explaintion,Everything And Nothing,Report,PS,Work Time,Upcoming More FS,PLanning Releases Date,Tool Used,Work Offered:)

 Rules And Regulations
 1)Do NOT Change The Credits
 2)Do NOT STEAL It
 3)Ask Me If Something Is Wrong Don't Edit it


 Credits
 Team_PRO/Edge (Creator,Creator Of Command,Tester,Bug Fixer 100% No Bugs Fully Fixed By Me And Unknow)
 Unknow (Tester)
 Silentshot (Tester,Bug Fixer)


 Explaination
 And Thank You For Using The Newest Weapon List By Team_PRO
 More Filterscipt Coming Soon!!!
 Releases Date September 27 2012
 And Sorry For Long Time Releases Cause My Internet Cutted Out
 Hope You Will Like The Weapon List

 Everything And Nothing
 Look No Errors "Pawn compiler 3.2.3664         Copyright © 1997-2006, ITB CompuPhase"

 Reports Bugs or Something Wrong
 But If You Find Bugs or Something Wrong Please PM Me In SAMP Forums
 or Email Me Mattrobertsantos@yahoo.com or Just Add Me In Skype Id: Edge/mattrobert2

 PS:
 If You Want To Chat Just Add Me In Skype Id: Edge/mattrober2
 Note: Don't Add Me In Skype If You Don't Have Problems With The FS Just Add Me In To Chat

 Work Time
 3-7 Minutes

 Upcoming Filterscrips:
 Rules Dialog System[DONE]
 Weapon Spawner V1.1[DONE]
 Car Spawner V1.0[Not Worked Yet]
 Help Dialog System[WIP|Work in Progress]
 Special Work!!![Not Worked Yet]
 More Coming Soon!!!


 Planning Releases Of Upcoming New Filterscipt:
 September 27, 2012
 October 19, 2012
 November 2, 2012
 November 24, 2012
 December 25, 2012(Chrismas Day)


 Tools Used:
 Pawno
 Dialog Creator
 Complier
*/
That's a long comment for a simple script..
Never mind of It
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)