Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. if ((strcmp("NORMAL", text, true) == 0))
  2. {
  3. SCM(playerid,-1,"Beat my apprentice first, so you can proof that you are worth it");
  4.  
  5. MasterChiID[playerid] = CreateDynamicActor(24, 764.9443,-23.0935,1000.5859,272.5362, false, 100.0, -1, 6, -1, 15.0, -1, 0);
  6. TogglePlayerControllable(playerid,true);
  7. BeatAppreTimer[playerid] = SetTimerEx("BeatAppre", 1000, true, "i", playerid);
  8. MasterChi[playerid] = 3;
  9. SetPlayerPos(playerid,772.8234,-23.0014,1000.5859);
  10. SetPlayerFacingAngle(playerid,88.6077);
  11. SetPVarString(playerid,"KName","Normal");
  12. SetCameraBehindPlayer(playerid);
  13. SetDynamicActorInvulnerable(MasterChiID[playerid],false);
  14.  
  15. if(IsActorInvulnerable(MasterChiID[playerid])) return SCM(playerid,-1,"Invulnerable");
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement