21.07.2011, 13:57
Hey, when I searching in binco clothes shop for new skin and write "done"
after I find... I'm going to rest in hospital like when I Die.... why
there you have script of my hospital rest
after I find... I'm going to rest in hospital like when I Die.... why
there you have script of my hospital rest
pawn Код:
if(FirstSpawn[playerid] != 1)
{
PlayerInfo[playerid][pVirWorld] = 0;
SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVirWorld]);
PlayerInfo[playerid][pDeaths] += 1;
SetPlayerHealth(playerid, 25.0);
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] = 20;
}
else
{
NeedMedicTime[playerid] = 30;
}
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
return 1;
}