These are chat archives for ikkentim/SampSharp

28th
Nov 2016
Michael Kilpatrick
@NewbProgramming
Nov 28 2016 02:14
Sweet
donshius
@donshius
Nov 28 2016 18:39
You know how if you return 0 to OnPlayerRequestClass in Pawn you can prevent the player from spawning, how do I do this in S# when I am overriding a void method?
never mind, I'm a potato
Tim Potze
@ikkentim
Nov 28 2016 18:49
(:
donshius
@donshius
Nov 28 2016 20:09
Found an interesting bug, if you set the player's position and try to get it right after it is not updated correctly.
Tim Potze
@ikkentim
Nov 28 2016 21:17
That's a SA-MP thing ¯_(ツ)_/¯ Try calling SetPlayerPos / GetPlayerPos from pawn script, will result in same behaviour
shruggie always loses an arm in gitter :(
Michael Kilpatrick
@NewbProgramming
Nov 28 2016 23:46
You can override SetPlayerPos to store the values and have GetPlayerPos return the values if OnPlayerUpdate hasn't been called yet.