camera bug..
#2

Are you sure that this condition is true?
Try to add a printf function to debug that part of code:
PHP код:
    printf("OnPlayerSpawn: from_reg[%d] = %d"playeridfrom_reg[playerid]); // <--- new line
    
if( from_reg[playerid] )
    {
        
from_reg[playerid] = false;
         
SetPlayerVirtualWorld(playerid0);
          
SetCameraBehindPlayer(playerid);
        
SetPlayerPos(playerid2122.51421891.639810.4237);
        return 
1;
    } 
Reply


Messages In This Thread
camera bug.. - by Karolukas123 - 25.01.2016, 17:18
Re: camera bug.. - by valych - 25.01.2016, 19:42
Re: camera bug.. - by Karolukas123 - 25.01.2016, 19:46
Re: camera bug.. - by Write - 25.01.2016, 19:56
Re: camera bug.. - by Karolukas123 - 25.01.2016, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)