Raised This Month: $51 Target: $400
 12% 

Changing the seed in PlayerRunCommand doesn't do anything anymore


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nafrayu
Junior Member
Join Date: Nov 2006
Old 04-23-2013 , 13:12   Changing the seed in PlayerRunCommand doesn't do anything anymore
Reply With Quote #1

I can't prevent nospread cheats from working anymore, even if do something simple such as:

Code:
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3],&weapon, &subtype, &cmdnum, &tickcount, &seed, mouse[2])
    seed = GetURandomInt() + 7;
}
Did any of the recent sourcemod updates break this?


Edit:
It seems to be a problem with setting it to GetURandomInt - it works fine if i just use something like
seed = 7;
As the weapon spread for the above is always the same, as expected

Edit2:
I should've probably posted that somewhere else, not in the SMAC section?
This section seemed to fit the most though
__________________


Last edited by Nafrayu; 04-23-2013 at 13:25.
Nafrayu is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode