Spawn gumb | SpawnPlayer
#1

Hi, i put this code when player connect.
PHP код:
if(fexist(Path(playerid)))
{
    
INI_ParseFile(Path(playerid),"LoadUser_%s", .bExtra true, .extra playerid);
    
SpawnPlayer(playerid);
    
SetPlayerCameraPos(playerid1057.17351990.9702, -7.6063);
    
SetPlayerCameraLookAt(playerid7107.6938, -9996.5226, -2.9223);
    
ShowPlayerDialog(...
}
else
{
    
SpawnPlayer(playerid);
    
SetPlayerCameraPos(playerid1990.9702, -1760.355646.0171);
    
SetPlayerCameraLookAt(playerid7107.6938, -1758.893718.0859);
    for(new 
010i++) TextDrawShowForPlayer(playeridRegisterLoginTD[i]);
    
SelectTextDraw(playerid0x800000FF);
    return 
1

SpawnPlayer and Camera doesn't work. I use SpawnPlayer to hide spawn buttons, and Camera for new positions.
Reply


Messages In This Thread
Spawn gumb | SpawnPlayer - by xClown - 08.10.2015, 01:04
Re: Spawn gumb | SpawnPlayer - by xClown - 08.10.2015, 03:34
Re: Spawn gumb | SpawnPlayer - by PrO.GameR - 08.10.2015, 08:02
Re: Spawn gumb | SpawnPlayer - by xClown - 08.10.2015, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)