08.07.2014, 23:02
Tб correto? pessoal?..?
Ainda nгo testei, mais sу para prevenir nй.E outra tenho uma pequena duvida, nunca pode sentar o Jogador(a) e depois sentar o interior dele tipo:
Correto:
Incorreto:
Tу certo?
Код:
Alta[playerid] = 120; new Skin = PlayerInfo[playerid][pChar]; SetPlayerSkin(playerid, Skin); TimerAlta(playerid); SendClientMessage(playerid, COLOR_SAMU, "<!> Digite /alta para saber quanto tempo ainda falta para sair do Hospital!"); new rand = random(sizeof(RadomCama)); SetPlayerPos(playerid, RadomCama[rand][0], RadomCama[rand][1], RadomCama[rand][2]); SetPlayerCameraPos(playerid, 1159.3287, -1314.6178, 9282.0693); SetPlayerCameraLookAt(playerid, 1164.3419, -1305.1895, 9280.5693); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); SetPlayerInterior(playerid, 1); PlayerInfo[playerid][pMuted] = 1; SetPlayerHealth(playerid, 40); TogglePlayerControllable(playerid, 0);
Correto:
Код:
SetPlayerPos(playerid, RadomCama[rand][0], RadomCama[rand][1], RadomCama[rand][2]); SetPlayerCameraPos(playerid, 1159.3287, -1314.6178, 9282.0693); SetPlayerCameraLookAt(playerid, 1164.3419, -1305.1895, 9280.5693); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); SetPlayerInterior(playerid, 1);
Код:
SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, RadomCama[rand][0], RadomCama[rand][1], RadomCama[rand][2]); SetPlayerCameraPos(playerid, 1159.3287, -1314.6178, 9282.0693); SetPlayerCameraLookAt(playerid, 1164.3419, -1305.1895, 9280.5693); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);