[FilterScript] [FS] Light Sabers (0.3c)
#1

Light Sabers
Description: This is a simple Fs That Created Light Sabers There is Noting More To IT!
[ame]http://www.youtube.com/watch?v=udlmlYQu6Yk[/ame]
Video Does Not Belong To Me...
PHP код:
#include a_samp
new bool:swords[MAX_PLAYERS];
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == 999999)
    {
    if(
response)
    {
     switch(
listitem)
    {
    case 
0:
    {
    
SetPlayerAttachedObject(playerid01864960.070000.030000.8000090.0000000.0000000.0000001.30.72.3);
    
swords[playerid] = true;
    
GivePlayerWeapon(playerid81);
    }
    case 
1:
    {
    
SetPlayerAttachedObject(playerid01865060.070000.030000.8000090.0000000.0000000.0000001.30.72.3);
    
swords[playerid] = true;
    
GivePlayerWeapon(playerid81);
    }
    case 
2:
    {
    
SetPlayerAttachedObject(playerid01864860.070000.030000.8000090.0000000.0000000.0000001.30.72.3);
    
swords[playerid] = true;
    
GivePlayerWeapon(playerid81);
    }
    case 
3:
    {
    
SetPlayerAttachedObject(playerid01864760.070000.030000.8000090.0000000.0000000.0000001.30.72.3);
    
swords[playerid] = true;
    
GivePlayerWeapon(playerid81);
    }
    case 
4:
    {
    
SetPlayerAttachedObject(playerid01865260.070000.030000.8000090.0000000.0000000.0000001.30.72.3);
    
swords[playerid] = true;
    
GivePlayerWeapon(playerid81);
    }
    case 
5:
    {
    
SetPlayerAttachedObject(playerid01865160.070000.030000.8000090.0000000.0000000.0000001.30.72.3);
    
swords[playerid] = true;
    
GivePlayerWeapon(playerid81);
    }
    }
    }
    }
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp(cmdtext"/lightsaber"true)==0)
    {
    if(
swords[playerid] == false)
    {
     
ShowPlayerDialog(playerid999999DIALOG_STYLE_LIST"Light Sabres""Green\nYellow\nBlue\nRed\nWhite\nPink""Done!""Quit");
    }
    else
    {
    
RemovePlayerAttachedObject(playerid,0);
    
swords[playerid] = false;
    }
    return 
1;
    }
    return 
0;

PasteBin: Click Me Plz!

Direct: No Click Me Plz
Reply


Messages In This Thread
[FS] Light Sabers (0.3c) - by forgottenkings - 20.11.2011, 05:57
Re: [FS] Light Sabers (0.3c) - by Astralis - 20.11.2011, 05:59
Re: [FS] Light Sabers (0.3c) - by forgottenkings - 20.11.2011, 05:59
Re: [FS] Light Sabers (0.3c) - by GangsTa_ - 20.11.2011, 06:01
Re: [FS] Light Sabers (0.3c) - by forgottenkings - 20.11.2011, 06:01
Re: [FS] Light Sabers (0.3c) - by Astralis - 20.11.2011, 06:04
Re: [FS] Light Sabers (0.3c) - by forgottenkings - 20.11.2011, 06:19
Re: [FS] Light Sabers (0.3c) - by aminj - 20.11.2011, 07:52
Re: [FS] Light Sabers (0.3c) - by jap_D-Jap - 20.11.2011, 09:34
Re: [FS] Light Sabers (0.3c) - by forgottenkings - 20.11.2011, 09:35

Forum Jump:


Users browsing this thread: 2 Guest(s)