setplayerpos laggs up the player on spawn?
#3

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.
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)