[POMOC]bolnica

Započeo L.U.X, April 25, 2011, 17:12:16 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

MOD:Raven's
Problem:Evo ovako kad nekog /invite u mafiju/bandu dobije skin normalno no kad ga neko kill-a on se pojavi s drugim skinom tek radi kad ga neko invite taj lik izade sa srv i vrati se onda ne gubi skin
Dio skripte:
         if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0)
         {
             if(FirstSpawn[playerid] != 1)
             {
                //new string[256];
               MedicBill[playerid] = 0;
               MedicTime[playerid] = 0;
               NeedMedicTime[playerid] = 0;
               SetPlayerToTeamColor(playerid);
               SetPlayerPos(playerid,1178.8889,-1323.5004,14.1423);
               SetPlayerFacingAngle(playerid, 0);
               SetPlayerInterior(playerid,0);
               PlayerInfo[playerid][pInt] = 0;
               /*SetPlayerHealth(playerid, 50.0);
               PlayerInfo[playerid][pDeaths] += 1;
                SetPlayerInterior(playerid, 3);
                PlayerInfo[playerid][pInt] = 3;
                 rand = random(sizeof(gMedicSpawns));
               SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player
               SetPlayerFacingAngle(playerid, 0);
                 TogglePlayerControllable(playerid, 0);
                 GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~You need to rest now ...", 30000, 3);
                   JustDied[playerid] = 1;
                 MedicTime[playerid] = 1;
                 ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
                 if(PlayerInfo[playerid][pDonateRank] > 0)
                 {
                     NeedMedicTime[playerid] = 30;
                 }
                 else
                 {
                    NeedMedicTime[playerid] = 40;
               }*/
                return 1;
            }
         }