23.02.2019, 15:22
The problem:
Animation to take a photo with camera not starting:
The code:
The functions/timers:
Animation to take a photo with camera not starting:
The code:
Код:
if(ZonaFoto[playerid] == 4) { GivePlayerWeaponEx(playerid, 43, 1); FotoCP[playerid] = 3; DisablePlayerCheckpoint(playerid); SetPlayerFacingAngle(playerid, 358.5769); ApplyAnimation(playerid, "CAMERA", "piccrch_take", 4.0, 0, 0, 0, 1000, 0); TogglePlayerControllable(playerid, false); SetTimerEx("UnFreezeStation", 2000, false, "i", playerid); SCM(playerid, COLOR_YELLOW, "SMS trimis la reporter (id necunoscut): Am facut poza,acum vin la tine."); SetCameraBehindPlayer(playerid); SetPlayerCheckpoint(playerid, DynamicFactions[9][fceX], DynamicFactions[9][fceY], DynamicFactions[9][fceZ] ,4.0); }
Код:
SetTimerEx("UnFreezeStation", 2000, false, "i", playerid); // = Unfreeze player