Advertisement
CaveDweller_

Untitled

Jun 10th, 2014
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.11 KB | None | 0 0
  1. #include    <a_samp>
  2. #include    <intel>
  3.  
  4. main() { }
  5.  
  6. public OnGameModeInit()
  7. {
  8.     SetGameModeText("Blank Script");
  9.     AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  10.  
  11.     INTEL_AddIntelSpawn("Employee names", 1958.3783, 1344.1572, 15.3746, 45, 0.0, 0.0, 1);
  12.     INTEL_AddIntelSpawn("Bank CCTV", 1960.3783, 1341.1572, 15.3746, 90.0, 0.0, 0.0, 2);
  13.     INTEL_AddIntelSpawn("Vault code", 1956.3783, 1343.1572, 15.3746, 150.0, 25.0, 0.0, 7);
  14.     INTEL_SpawnNewIntel();
  15.     return 1;
  16. }
  17.  
  18. public OnPlayerRequestClass(playerid, classid)
  19. {
  20.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  21.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  22.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  23.     return 1;
  24. }
  25.  
  26. public OnPlayerConnect(playerid)
  27. {
  28.     INTEL_SetClaimPermission(playerid, true);
  29.     return 1;
  30. }
  31.  
  32. public INTEL_OnPlayerClaim(playerid, name[], level)
  33. {
  34.     new string[128];
  35.     format(string, sizeof(string), "Player %d claimed the level %d intel '{FFFFFF}%s{" INTEL_MESSAGE_COLOR_EMBED "}'", playerid, level, name);
  36.     SendClientMessageToAll(INTEL_MESSAGE_COLOR, string);
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement