Problem with SetSpawnInfo
#1

I've been wondering why when I spawn this happens to me.

There is obviously a problem with setspawninfo. I've also encountered this problem when I've been spawning without a skin. So I've been setting a timer to set the skin after the player has spawned.

If i'm doing something wrong, please tell me. I think what I've done is correct so far.

The only problem I was getting was my character flying UP once they've spawned from logging out in an interior. I've also found out that it's almost all the time, regardless of being inside an interior. They usually fall down and that has then lead me to have no idea why my character is flying upwards and would like you ask you what is causing it.

I have searched the samp forums to the ground and still found absolutely no way to cure this.

This is the code for my login..
PHP Code:
SetSpawnInfo(extraid0playerInfo[extraid][pModel], playerInfo[extraid][pPos][0], playerInfo[extraid][pPos][1], playerInfo[extraid][pPos][2], 1.0, -1, -1, -1, -1, -1, -1);
SetCameraBehindPlayer(extraid);
SetPlayerInterior(extraidplayerInfo[extraid][pInterior]);
SetPlayerVirtualWorld(extraidplayerInfo[extraid][pVirtualWorld]);
SetPlayerSkin(extraidplayerInfo[extraid][pModel]);
SpawnPlayer(extraid);
SetTimerEx("SkinDelay"1000false"d"extraid); 
Reply


Messages In This Thread
Problem with SetSpawnInfo - by Peach - 11.11.2012, 11:53
Re: Problem with SetSpawnInfo - by XtremeR - 11.11.2012, 11:56
Re: Problem with SetSpawnInfo - by Peach - 11.11.2012, 12:01
Re: Problem with SetSpawnInfo - by XtremeR - 11.11.2012, 12:04
Re: Problem with SetSpawnInfo - by Peach - 11.11.2012, 12:14
Re: Problem with SetSpawnInfo - by XtremeR - 11.11.2012, 12:34
Re: Problem with SetSpawnInfo - by Peach - 11.11.2012, 14:17

Forum Jump:


Users browsing this thread: 2 Guest(s)