How to fix bug bottle
#1

http://prntscr.com/df06pk
I set this on OnPlayerRequestClass
Код:
public OnPlayerRequestClass(playerid,classid)
{
    SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
    SpawnPlayer(playerid);
    return 1;
}
Reply
#2

I guess you / someone else fucked up at mapping, you can try and find the boject and delete.
Reply
#3

Quote:
Originally Posted by Vaki
Посмотреть сообщение
http://prntscr.com/df06pk
I set this on OnPlayerRequestClass
Код:
public OnPlayerRequestClass(playerid,classid)
{
    SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
    SpawnPlayer(playerid);
    return 1;
}
You must have a delay before spawning the player. Use a this:

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
SetTimerEx("spawntheplayer"10false"i"playerid);
    return 
1;
}
forward spawntheplayer(playerid);
public 
spawntheplayer(playerid)
{
    
SpawnPlayer(playerid);
    return 
1;

This will add a delay of 10 milliseconds. Even 1 millisecond is enough, but use 10 just for safety.
Reply
#4

Try setting the player's special action to SPECIAL_ACTION_NONE when they spawn.

https://sampwiki.blast.hk/wiki/SetPlayerSpecialAction
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)