setplayerpos laggs up the player on spawn?
#4

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
No idea. But instead of what you have try this.
In this code, NUMBER_OF_TELEPORTS, should be 5, because there are 5 cases. 0 is counted too.
pawn Код:
switch( random( NUMBER_OF_TELEPORTS ) )
{
    case 0: SetPlayerPos(...);
    case 1: SetPlayerPos(...);
    case 2: SetPlayerPos(...);
    case 3: SetPlayerPos(...);
    case 4: SetPlayerPos(...);
    //...
}
NUMBER_OF_TELEPORTS = Number of coordination you have.

At SetPlayerPos add your positions.
At first time it worked ,but then after i died again didn't work. When I'm about to spawn it shows with me some sort of anim, it looks like I'm laying on air, but in cubics form LOL.

Hiddos - It writes ticks 0. At first when i spawn from requestclass screen when connected it works fine..
Reply


Messages In This Thread
setplayerpos laggs up the player on spawn? - by 0ne - 17.11.2010, 16:17
Re: setplayerpos laggs up the player on spawn? - by Hiddos - 17.11.2010, 16:19
Re: setplayerpos laggs up the player on spawn? - by Zh3r0 - 17.11.2010, 16:20
Re: setplayerpos laggs up the player on spawn? - by 0ne - 17.11.2010, 17:02
Re: setplayerpos laggs up the player on spawn? - by 0ne - 18.11.2010, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)