Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <intel>
- main() { }
- public OnGameModeInit()
- {
- SetGameModeText("Blank Script");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- INTEL_AddIntelSpawn("Employee names", 1958.3783, 1344.1572, 15.3746, 45, 0.0, 0.0, 1);
- INTEL_AddIntelSpawn("Bank CCTV", 1960.3783, 1341.1572, 15.3746, 90.0, 0.0, 0.0, 2);
- INTEL_AddIntelSpawn("Vault code", 1956.3783, 1343.1572, 15.3746, 150.0, 25.0, 0.0, 7);
- INTEL_SpawnNewIntel();
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- INTEL_SetClaimPermission(playerid, true);
- return 1;
- }
- public INTEL_OnPlayerClaim(playerid, name[], level)
- {
- new string[128];
- format(string, sizeof(string), "Player %d claimed the level %d intel '{FFFFFF}%s{" INTEL_MESSAGE_COLOR_EMBED "}'", playerid, level, name);
- SendClientMessageToAll(INTEL_MESSAGE_COLOR, string);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement