Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 2:
- {
- if(GetPVarInt(playerid, "sentMSG") == 0)
- {
- SetPVarInt(playerid, "sentMSG", 1);
- SendClientMessage(playerid, -1, "The class is reserved for vips only.");
- }
- // FBI //
- SetPlayerSkin(playerid, 286);
- SetPlayerTeam(playerid, TEAM_FBI);
- gTeam[playerid] = TEAM_FBI;
- SetPlayerColor(playerid, TEAM_FBI_COLOR);
- SetPlayerPos(playerid, 103.0952, 1664.1647, 85.4066);
- SetPlayerFacingAngle(playerid, 147.6999);
- InterpolateCameraPos(playerid, 86.806121, 1666.306518, 86.224792, 101.301986, 1661.883911, 86.926155, 2000);
- InterpolateCameraLookAt(playerid, 88.875381, 1670.540039, 84.552940, 103.269798, 1666.055419, 84.995864, 2000);
- /*InterpolateCameraPos(playerid, 229.1560, 1822.6487, 9.4584,225.3885, 1822.7159, 6.4460, 15000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 228.1509, 1822.6511, 9.0434, 224.3835, 1822.7260, 6.5910, 15000, CAMERA_MOVE);*/
- GameTextForPlayer(playerid,"~r~FBI",1500,3);
- }
- public OnPlayerRequestSpawn(playerid)
- {
- if(GetPlayerSkin(playerid) == FBI Skin ID of Class 2)
- {
- if(PlayerInfo[playerid][dRank] == 0)
- {
- GameTextForPlayer(playerid, "~r~This class is for vips only~y~!", 2500, 3);
- return false;
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment