Oblivion_UFF

asd

Mar 22nd, 2020
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. case 2:
  2. {
  3. if(GetPVarInt(playerid, "sentMSG") == 0)
  4. {
  5. SetPVarInt(playerid, "sentMSG", 1);
  6. SendClientMessage(playerid, -1, "The class is reserved for vips only.");
  7. }
  8.  
  9. // FBI //
  10. SetPlayerSkin(playerid, 286);
  11. SetPlayerTeam(playerid, TEAM_FBI);
  12. gTeam[playerid] = TEAM_FBI;
  13. SetPlayerColor(playerid, TEAM_FBI_COLOR);
  14. SetPlayerPos(playerid, 103.0952, 1664.1647, 85.4066);
  15. SetPlayerFacingAngle(playerid, 147.6999);
  16. InterpolateCameraPos(playerid, 86.806121, 1666.306518, 86.224792, 101.301986, 1661.883911, 86.926155, 2000);
  17. InterpolateCameraLookAt(playerid, 88.875381, 1670.540039, 84.552940, 103.269798, 1666.055419, 84.995864, 2000);
  18. /*InterpolateCameraPos(playerid, 229.1560, 1822.6487, 9.4584,225.3885, 1822.7159, 6.4460, 15000, CAMERA_MOVE);
  19. InterpolateCameraLookAt(playerid, 228.1509, 1822.6511, 9.0434, 224.3835, 1822.7260, 6.5910, 15000, CAMERA_MOVE);*/
  20. GameTextForPlayer(playerid,"~r~FBI",1500,3);
  21. }
  22.  
  23.  
  24. public OnPlayerRequestSpawn(playerid)
  25. {
  26.  
  27. if(GetPlayerSkin(playerid) == FBI Skin ID of Class 2)
  28. {
  29. if(PlayerInfo[playerid][dRank] == 0)
  30. {
  31. GameTextForPlayer(playerid, "~r~This class is for vips only~y~!", 2500, 3);
  32. return false;
  33. }
  34. }
  35. return true;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment