Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed

    Sniper only mod famas bug?

    Hello,

    I have a problem.
    I made an sniper only mod intervention.
    The player gets intervention on the first spawn. But after (a random number of) spawns with intervention he gets the famas with grenadelauncher and as secondary the spas 12 silenced.
    How is this possible? i have multiple gsc's but all have no code with the give famas.

    Codes at the onplayerspawned:

    Code:
    self giveWeapon("cheytac_fmj_xmags_mp", 0 , 0 );
    		self switchToWeapon("cheytac_fmj_xmags_mp")
    I guess this has to get into the help section.
    Last edited by codGmer; 07-01-2011 at 02:37 PM.

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Well, you made 1 mistake:

    self giveWeapon("cheytac_fmj_xmags_mp", 0 , 0 );
    This is reg used:
    self giveWeapon("cheytac_fmj_xmags_mp", 0 , true );
    And I am sure that the player just self swith weapon at spawn, get their own weapon.

    EDIT:

    It also depends on how you added it in the playerspawn thread.

    If you add an
    wait 0.1;
    above the give wep code and the waittill("player_spawned"); (Or what it was..)
    Last edited by Jorndel; 07-01-2011 at 02:54 PM. Reason: more..

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Thanks for the quick reply
    It didnt solved it. I now get the famas, spas and the intervention lol.
    This is my onplayerspawned

    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self waittill("spawned_player");
    		self giveWeapon("cheytac_fmj_xmags_mp", 0 , true );
    		self thread DoDvars();
                    etc...
    Is it possible that is has to do something with the class menu skipping?
    Last edited by codGmer; 07-01-2011 at 03:02 PM.

  4. #4
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by codGmer View Post
    Thanks for the quick reply
    It didnt solved it. I now get the famas, spas and the intervention lol.
    This is my onplayerspawned

    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self waittill("spawned_player");
    		self giveWeapon("cheytac_fmj_xmags_mp", 0 , true );
    		self thread DoDvars();
                    etc...
    Is it possible that is has to do something with the class menu skipping?
    Told you to add an wait...

    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self waittill("spawned_player");
    wait 0.2;
    		self giveWeapon("cheytac_fmj_xmags_mp", 0 , true );
    		self thread DoDvars();
                    etc...
    EDIT:

    If you have MSN.

    You can send the mod and I will take a fast look for your problem
    Last edited by Jorndel; 07-01-2011 at 03:18 PM. Reason: If then do

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  5. #5
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    I already added you on skype and msn
    I will give it.
    Last edited by codGmer; 07-01-2011 at 04:13 PM.

  6. #6
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    did you clear the old weapons?
    press thanks if i helped you.

    steam: pyro1012 (in game name is Undutchable)

    todo list:
    100 posts :
    250 posts :
    500 posts :
    750 posts :
    1000 posts :
    get 100 thanks :
    create a modd :
    create a camo :
    create a program :

  7. #7
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by pyrozombie View Post
    did you clear the old weapons?
    What do you mean?

  8. #8
    JustAndy's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    Quote Originally Posted by codGmer View Post
    What do you mean?
    yes this is what im thinking, put in the code for take all weapons first, and then give the intervention

  9. #9
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    for as far i can see you only give the chaytec but don't take the old weapons or am i misstaken?
    press thanks if i helped you.

    steam: pyro1012 (in game name is Undutchable)

    todo list:
    100 posts :
    250 posts :
    500 posts :
    750 posts :
    1000 posts :
    get 100 thanks :
    create a modd :
    create a camo :
    create a program :

  10. #10
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Looks like he don't want help so.

    Else he would give me his MSN but he haven't so.

    (Go go very soon anyway...)

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  11. #11
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by Jorndel View Post
    Looks like he don't want help so.

    Else he would give me his MSN but he haven't so.

    (Go go very soon anyway...)
    I am working currently 3 hours on it so...

    And i have added you on msn and wrote a message to your page..

    I already added you on skype and msn
    I will give it.

    --------------------------------------------------------------------------------
    Last edited by codGmer; 1 Hour Ago at 12:13 AM..
    You spawn with a intervention now but it doesnt switch to it even with the switchtoweapon. Anyway thanks for the takeallwapens.
    Last edited by codGmer; 07-01-2011 at 05:28 PM.

  12. #12
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by codGmer View Post
    I am working currently 3 hours on it so...

    And i have added you on msn and wrote a message to your page..



    You spawn with a intervention now but it doesnt switch to it even with the switchtoweapon. Anyway thanks for the takeallwapens.
    But I didn't get it so..

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  13. #13
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by Jorndel View Post
    But I didn't get it so..
    And now? I added you multiple times.

  14. #14
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by codGmer View Post
    And now? I added you multiple times.
    Well, dosn't seem so my MSN will accept you. (It accepts but don't add you)

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  15. #15
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by Jorndel View Post
    Well, dosn't seem so my MSN will accept you. (It accepts but don't add you)
    lets try skype shall we?

Page 1 of 2 12 LastLast

Tags for this Thread