SA-MP Forums Archive
[FilterScript] [FS] Light Sabers (0.3c) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Light Sabers (0.3c) (/showthread.php?tid=298294)



[FS] Light Sabers (0.3c) - forgottenkings - 20.11.2011

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


Re: [FS] Light Sabers (0.3c) - Astralis - 20.11.2011

dude I THINK you should make a topic for all your works that gonna be added xD


so much works!


Re: [FS] Light Sabers (0.3c) - forgottenkings - 20.11.2011

HaHa


Re: [FS] Light Sabers (0.3c) - GangsTa_ - 20.11.2011

Nice.


Re: [FS] Light Sabers (0.3c) - forgottenkings - 20.11.2011

hey hey wait im not going to be banned for spam am i ??


Re: [FS] Light Sabers (0.3c) - Astralis - 20.11.2011

Quote:
Originally Posted by forgottenkings
Посмотреть сообщение
hey hey wait im not going to be banned for spam am i ??
if u wont reply to too many topics on one board :S example 6


Re: [FS] Light Sabers (0.3c) - forgottenkings - 20.11.2011

okay light sabers are cool install a ninja cleo mod and ninja skin and your a cool player on server just dont get banned :P


Re: [FS] Light Sabers (0.3c) - aminj - 20.11.2011

nice but isnt there any picture?


Re: [FS] Light Sabers (0.3c) - jap_D-Jap - 20.11.2011

It's not your work and it's not new one


Re: [FS] Light Sabers (0.3c) - forgottenkings - 20.11.2011

i didnt took any but dont worry its working just type /lightsaber