Započeo L.U.X
•25. Apr. 2011.[POMOC]bolnica
559
pregleda
1
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
59
Postovi:
22
Teme:
Pridružio se:Mar. 2011
25. Apr. 2011.
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 == 1 && PlayerInfo == 0)
{
if(FirstSpawn != 1)
{
//new string;
MedicBill = 0;
MedicTime = 0;
NeedMedicTime = 0;
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1178.8889,-1323.5004,14.1423);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
/*SetPlayerHealth(playerid, 50.0);
PlayerInfo += 1;
SetPlayerInterior(playerid, 3);
PlayerInfo = 3;
rand = random(sizeof(gMedicSpawns));
SetPlayerPos(playerid, gMedicSpawns, gMedicSpawns, gMedicSpawns); // 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 = 1;
MedicTime = 1;
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
if(PlayerInfo > 0)
{
NeedMedicTime = 30;
}
else
{
NeedMedicTime = 40;
}*/
return 1;
}
}
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 == 1 && PlayerInfo == 0)
{
if(FirstSpawn != 1)
{
//new string;
MedicBill = 0;
MedicTime = 0;
NeedMedicTime = 0;
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1178.8889,-1323.5004,14.1423);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
/*SetPlayerHealth(playerid, 50.0);
PlayerInfo += 1;
SetPlayerInterior(playerid, 3);
PlayerInfo = 3;
rand = random(sizeof(gMedicSpawns));
SetPlayerPos(playerid, gMedicSpawns, gMedicSpawns, gMedicSpawns); // 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 = 1;
MedicTime = 1;
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
if(PlayerInfo > 0)
{
NeedMedicTime = 30;
}
else
{
NeedMedicTime = 40;
}*/
return 1;
}
}
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava