View Single Post
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