Little bug
#1

Hello why do I get this bug?

image url upload
Reply
#2

Type /interior in-game when this happens. Is the interiorid 0?
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Type /interior in-game when this happens. Is the interiorid 0?
It's 14.But it doesn't work.

Код:
public OnPlayerConnect(playerid)
{
SetPlayerInterior(playerid, 0);
	return 1;
}
Reply
#4

It should be 0.

Is this happening when you want to spawn (by using OnPlayerSpawn)? If so:
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerInterior(playerid, 0);
    // code..
    return 1;
}
If it's a teleport with a command, set the interior to 0 in the command.
Reply
#5

there might be other systems like house system affecting to reset your position on spawn in the house check it...
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It should be 0.

Is this happening when you want to spawn (by using OnPlayerSpawn)? If so:
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerInterior(playerid, 0);
    // code..
    return 1;
}
If it's a teleport with a command, set the interior to 0 in the command.
It's not :/ it's when I spawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)