Rotation doesn't load correctly inside SetSpawnInfo
#1

title
code:
PHP код:
else if(Player[playerid][Faction])
{
    
SendClientMessage(playerid,-1,sprintf("%f",Faction1337[Player[playerid][Faction]][fRot]));
    
SetSpawnInfo(playerid,0,Player[playerid][Skin], Faction1337[Player[playerid][Faction]][fSpawnX], Faction1337[Player[playerid][Faction]][fSpawnY],Faction1337[Player[playerid][Faction]][fSpawnZ],Faction1337[Player[playerid][Faction]][fRot],000000);
    
SetPlayerPos(playerid,Faction1337[Player[playerid][Faction]][fSpawnX],Faction1337[Player[playerid][Faction]][fSpawnY],Faction1337[Player[playerid][Faction]][fSpawnZ]);
    
SetPlayerInterior(playerid,Faction1337[Player[playerid][Faction]][fINT]);
    
SetPlayerVirtualWorld(playerid,Faction1337[Player[playerid][Faction]][fVW]);

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)