public OnPlayerSpawn(playerid){if(pInfo[playerid][korhazban] == 1){ SendClientMessage(playerid, -1, \"{ffffff}[ ! ] {00a6ff}Mivel súlyosan megsérültél, így {ff0000}kórházba {00a6ff}kerültél!\"); SetPlayerPos(playerid, -2668.8999023438, 665.20001220703, -0.30000001192093); SetPlayerCameraPos(playerid, -2672.8999023438, 661.59997558594, 0.89999997615814); SetPlayerCameraLookAt(playerid, -2668.8999023438, 665.20001220703, -0.30000001192093);TogglePlayerControllable(playerid, false);SetTimerEx(\"korhazoff\", 10000, 0, \"u\", playerid);ApplyAnimation(playerid,\"CRACK\",\"crckdeth2\",4.1,1,1,1,1,1);}return 1;}
public favagaski(playerid){TogglePlayerControllable(playerid, true);SendClientMessage(playerid, zöld, \"[ ! ] Indulhatsz!\");ClearAnimations(playerid);return 1;}
stock ex_ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync){ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);new animlib2[32];new animname2[32];GetAnimationName(GetPlayerAnimationIndex(playerid),animlib2,32,animname2,32);while(strcmp(animlib,animlib2) || strcmp(animname,animname2)){ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);}}#define ApplyAnimation ex_ApplyAnimation