Jump to content
  • 0

Help modify spawn center


laurent09

Question

Recommended Posts

  • 0

hi

 

I tried to use a command to the parachute.
but I have this error.

 

 

22.02.2015 01:31:09: Laurent (*******************) ********************************** - #27 "getPlayerUID player in ["111111","111111"]) then {

player addBackpack "B_Parachute";
} else {
player addBackpack "B_Parachu"
Link to comment
Share on other sites

  • 0

it's ok i add b_parachute to be filters

.but i dont spawn with parachut at the respawn .

 

i take your code here 

 

 

 

if (!isServer) then {
    waitUntil {!isNull player};
    waitUntil {player == player};
    
    
while {true} do {
        _player = player;
        player addEventHandler ["Respawn", {
            if (getPlayerUID player in ["111111","111111"]) then {
            player addBackpack "B_Parachute";                    
            
} else {
            player addBackpack "B_Parachute";            
            
};
        }];
        waitUntil {_player != player};
    };
};
Link to comment
Share on other sites

  • 0

#SadBoy1981

 

how could you add new portal spawn ?

But I added new portal in config.cpp .

 

telePos[] = {
{ "Transport_C_EPOCH", { 23600.5, 18009, 0.233421 }, "", {13307.3, 14456.7, 5.81202} }, // Trader city 1
{ "Transport_W_EPOCH", { 23585.4, 18000.7, 0.233424 }, "", { 6192.46, 16834, 0.00154114 } }, // Trader city 2
{ "Transport_E_EPOCH", { 23615.5, 18000.9, 0.233423 }, "", { 18451.9, 14278.1, 0.00143814 } }, // Trader city 3
{ "Transport_EPOCH", {23614.2, 17993, 0.233424}, "", {5214.65, 12068.3, 600} }, // para
{ "Transport_EPOCH", {23611.5, 17993, 0.233424}, "", {10787.1, 7677, 600} }, // para
{ "Transport_EPOCH", {23608.8, 17993, 0.233424}, "", {5147.99, 21051.2, 600} }, // para
{ "Transport_EPOCH", {23591.2, 17993, 0.233424}, "", {14315.1, 21824.9, 600} }, // para
{ "Transport_EPOCH", {23588.4, 17993, 0.233424}, "", {26838.9,21251.8,600} }, // para
{ "Transport_EPOCH", {23585.8, 17993, 0.233424}, "", {19453.4, 6913.63, 600} } // para
};


but it does not work, I can not use it.

Link to comment
Share on other sites

  • 0

it's ok 

 

telePos[] = {

{ "Transport_C_EPOCH", { 23600.5, 18009, 0.233421 }, "", {13307.3, 14456.7, 5.81202} }, // Trader city 1
{ "Transport_W_EPOCH", { 23585.4, 18000.7, 0.233424 }, "", { 6192.46, 16834, 0.00154114 } }, // Trader city 2
{ "Transport_E_EPOCH", { 23615.5, 18000.9, 0.233423 }, "", { 18451.9, 14278.1, 0.00143814 } }, // Trader city 3
{ "Transport_W_EPOCH", {23614.2, 17993, 0.233424}, "", {5214.65, 12068.3, 600} }, // para
{ "Transport_W_EPOCH", {23611.5, 17993, 0.233424}, "", {10787.1, 7677, 600} }, // para
{ "Transport_W_EPOCH", {23608.8, 17993, 0.233424}, "", {5147.99, 21051.2, 600} }, // para
{ "Transport_W_EPOCH", {23591.2, 17993, 0.233424}, "", {14315.1, 21824.9, 600} }, // para
{ "Transport_E_EPOCH", {23588.4, 17993, 0.233424}, "", {26838.9,21251.8,600} }, // para
{ "Transport_E_EPOCH", {23585.8, 17993, 0.233424}, "", {19453.4, 6913.63, 600} } // para
};

it's work .

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...