[pomoc]kada umrem mesto gde se spawnujem

Započeo ...Nikola..., Jul 07, 2011, 10:40:26 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Citat: Boki Pro poslato Jul 07, 2011, 18:13:23 POSLE PODNE
FactionGamE jeeeeeeeeeeeeeeeee jbt citaj prvi post

Citam i iz iskustva prepoznajem ovaj dio skripte:       new rand;
if(PlayerInfo[playerid][pLeader] == 7)//Mayor spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 356.2998,151.9914,1025.7891);
    PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 241;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//Policija spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,6);
    rand = random(sizeof(gCopPlayerSpawns));
SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
PlayerInfo[playerid][pInt] = 6;
return 1;
    }
    if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid, 299.7097,183.1322,1007.1719);
SetPlayerFacingAngle(playerid, 90);
PlayerInfo[playerid][pInt] = 3;
return 1;
    }
if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//swat spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2731.5229,-2451.3643,17.5937);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//bolnica spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerPos(playerid, 2289.8146,-1209.5230,-18.0088);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Yakuza spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 961.40710449219,-53.224853515625,1001.1245727539);
    PlayerInfo[playerid][pInt] = 5;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//LCN spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 5);
    SetPlayerPos(playerid, 1265.4475,-794.9257,1084.0078);
    PlayerInfo[playerid][pInt] = 5;
    return 1;
}
    if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn
    {
        SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1102.7017,-299.0774,73.9922);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //Radio SC spawn
    {
        SetPlayerToTeamColor(playerid);
        SetPlayerInterior(playerid,3);
SetPlayerPos(playerid, 355.7899,204.0173,1008.3828);
PlayerInfo[playerid][pInt] = 3;
SafeGivePlayerWeapon(playerid, 43, 20);
        return 1;
    }
    if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi  spawn
    {
        SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1226.62, -1816.01,16.243);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) //GSF  spawn
    {
        SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 2513.8438,-1668.9279,13.5609);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) //tec spawn
    {
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2029.0096,-2135.2183,19.8344);
SetPlayerFacingAngle(playerid, 180);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }
if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//18th spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 2495.2605,-1703.7449,1018.3438);
    PlayerInfo[playerid][pInt] = 3;
    return 1;
}
if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//Bikeri Spawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 11);
    SetPlayerPos(playerid, 501.980987,-69.150199,998.757812);
    PlayerInfo[playerid][pInt] = 11;
    return 1;
}
    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) //Spawn za igrace
    {
   SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid,15);
SetPlayerPos(playerid, 2217.2744,-1150.4946,1025.7969);
SetPlayerFacingAngle(playerid, 180);
PlayerInfo[playerid][pInt] = 15;
        return 1;
    }

//---------------------------------------------------------------------------------------
Ako su isti mozda je isto i rijesenje..
Izrada web aplikacija/desktop aplikacija, kontakt PM.
VPS/Dedi managment 'n' hosting @pm also.