I have problem with Spawn
#1

This is my problem, how i can fix this? i try, but i cant :S

http://www.easilysharing.com/images/...4105842276.png

Thanks!
Reply
#2

you spawn and that happens?
Reply
#3

Post you OnPlayerRequestClass and OnPlayerSpawn.
Reply
#4

no, i connect to samp, type my password and when i must to spawn that happens
Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerInterior(playerid,0);
	SetCameraBehindPlayer();
Код:
public OnPlayerRequestClass(playerid, classid)
{
	new string[128];
	PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
	PlayerInfo[playerid][pModel] = Peds[classid][0];
 	if (classid == 1)
Reply
#5

For test add
SetCameraBehindPlayer(playerid);

in OnPlayerSpawn.

Reply
#6

up there is what you asked
Reply
#7

You don't need the
Код:
SetCameraBehindPlayer(playerid);
under OnPlayerSpawn.
Also, you should
Код:
SetPlayerPos(playerid,x,y,z);
after you set the interior.
Reply
#8

Quote:
Originally Posted by DJDhan
You don't need the
Код:
SetCameraBehindPlayer(playerid);
under OnPlayerSpawn.
ok i will try tnx
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)