Problem(error/warning): Pa kad spawnujem igraca baguje mi kamera pokusao sam sa SetCameraBehindPlayer ali nece??
Dio skripte:
[pawn]
SetSpawnInfo(playerid, 0, 0, 1728.5672, -1668.3918, 22.6093, 1.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(playerid);
SpawnTPlayer(playerid);
[/pawn]
[pawn]
FUNCTION: SpawnTPlayer(playerid)
{
SetPlayerHealth(playerid, 99.0);
SetPlayerArmour(playerid, 99.0);
SetCameraBehindPlayer(playerid);
if(PlayerInfo[playerid][pReg] == 1)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
}
if(GetPlayerSkin(playerid) == 0)
{
PlayerInfo[playerid][pSkin] = 59;
SetPlayerSkin(playerid, 59);
}
if(DMZ[playerid] == 0)
{
SetPlayerPos(playerid, 1728.5672, -1668.3918, 22.6093);
SetPlayerInterior(playerid, 18);
SetPlayerFacingAngle(playerid, 45.420341);
}
return true;
}
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Ne treba
Slika/video ingame problema(obavezno ako je ingame problem): - http://prntscr.com/jwychb
koji sam retard fixano