10.05.2014, 14:01
pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
{
new family = PlayerInfo[playerid][pFMember];
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
}
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1730.3859,-1912.1241,13.5628); // Spawn kod CIVIL
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
return 1;
}
pawn Код:
strmid(FirmaInfo[i][bVlasnik], "Niko", 0, strlen("Niko")); PlayerInfo[playerid][pPosedovanjeFirme2] = 0;