Post: Can Anyone Help With Binds?
04-24-2012, 11:21 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I have been using xRaw's v5 remastered which is a fucking epic patch. But I am having trouble adding something to the say part of the binds. I am relatively new to coding but when I try to add self.name or player.name into the say menu e.g. "ModdersPSN gave player.name/self.name binds!" I was just wondering how you would get that function to work so it would say their name whenever they press the left dpad to activate. +Rep for anyone who can help me.

Thanks

:smile:
(adsbygoogle = window.adsbygoogle || []).push({});
04-24-2012, 09:05 PM #2
Default Avatar
WOLF
Guest
Originally posted by 92 View Post
I have been using xRaw's v5 remastered which is a $#@!ing epic patch. But I am having trouble adding something to the say part of the binds. I am relatively new to coding but when I try to add self.name or player.name into the say menu e.g. "ModdersPSN gave player.name/self.name binds!" I was just wondering how you would get that function to work so it would say their name whenever they press the left dpad to activate. +Rep for anyone who can help me.

Thanks

:smile:


When you use something like level.hostname or self.name you have to quit using quotations. Such as:
say +level.hostname+ "gave" +self.name+ "sexy bind mods! Subscribe to blah blah etc"
04-25-2012, 11:07 AM #3
Originally posted by XxWOLFxXLeader View Post
When you use something like level.hostname or self.name you have to quit using quotations. Such as:
say +level.hostname+ "gave" +self.name+ "sexy bind mods! Subscribe to blah blah etc"


Thanks dude seems like it could work only problem is in my code I keep getting a syntax error, this is my code that I am using

    "say" +level.hostname+ "Got" +self.name+ "These Binds! Don't Hate Me Just Rate Me" ";scr_game_forceradar 1;bind DPAD_DOWN vstr PERKS");


But I keep getting a syntax error whenever I test the code. But if i removed +level.hostname+ & +self.name+ and made the code without them it seems to work fine, I can't seem to figure out where I am going wrong
04-25-2012, 07:23 PM #4
Default Avatar
WOLF
Guest
Originally posted by 92 View Post
Thanks dude seems like it could work only problem is in my code I keep getting a syntax error, this is my code that I am using

    "say" +level.hostname+ "Got" +self.name+ "These Binds! Don't Hate Me Just Rate Me" ";scr_game_forceradar 1;bind DPAD_DOWN vstr PERKS");


But I keep getting a syntax error whenever I test the code. But if i removed +level.hostname+ & +self.name+ and made the code without them it seems to work fine, I can't seem to figure out where I am going wrong


You have "say" Get rid of the second parenthesis and at the end of rate me" " get rid of that second one. I think that will set you straight.
04-26-2012, 09:01 AM #5
Originally posted by XxWOLFxXLeader View Post
You have "say" Get rid of the second parenthesis and at the end of rate me" " get rid of that second one. I think that will set you straight.


Cheers dude done that and it worked, thanks alot!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo