19.05.2010, 19:07
e como fasso para uma mensagens GameTextForPlayer tar a piscar?(se der)
public imorte(playerid)
{
SetPlayerHealth(playerid,0.5);
GameTextForPlayer(playerid,"~r~ Gravemente Ferido.",90000,5);
TogglePlayerControllable(playerid,1);
SetPlayerPos(playerid,PlayerInfo[playerid][MorteX],PlayerInfo[playerid][MorteY],PlayerInfo[playerid][MorteZ]);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0);
SetTimerEx("Morte",90000, false, "d", playerid);//Timer para terminar a morte depois do tempo
return 1;
}
public Morte(playerid)
{
SetPlayerHealth(playerid,100);
TogglePlayerControllable(playerid,0);
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ Estas curado/a.",5000,5);
SendClientMessage(playerid, COLOR_RED, "Foste curado por um Mйdico. Sobreviveste por um triz!!");
SetPlayerPos(playerid, -315.1414, 1050.0386, 20.3403);
SetPlayerInterior(playerid,0);
return 1;
}
Originally Posted by tshadow
ok outro problema
o player fica congelado, mas nгo descongela pawn Код:
|
new Skin = random(sizeof(Skins));//5512 SetPlayerSkin(playerid,Skin[Skins]);
new Skins [] = { 23, 28, 29, 59, 101, 223, 258, 259, 299 };
Originally Posted by andmeida10
nгo deve descongelar porque tens TogglePlayerControlable(playerid,1) e nao deves o 0
|