Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
{$CLEO .cs} {$NOSOURCE} 0000: NOP 0662: "PopandauL" thread 'PMT' if 8AF7: get_samp_base_to 33@ then 0A93: end_custom_thread end repeat wait 400 until 0AFA: is_samp_structures_available wait 0 if and 8AAB: file_exists "CLEO\Teleports.ini" 8AAB: file_exists "CLEO\TeleportSettings.ini" then wait 3000 0AF8: samp add_message_to_chat "[{BAFF00}PMT{FFFFFF}]: One of the ini files is missing." color 0xFFFFFF 0A93: end_custom_thread else wait 3000 0AF8: samp add_message_to_chat "[{BAFF00}PMT{FFFFFF}]: Teleport.cs by {00B5FF}PopandauL {FFFFFF}was successfully loaded." color 0xFFFFFF 0AF0: 29@ = get_int_from_ini_file "cleo\TeleportSettings.ini" section "Keys" key "Key1" 0AF0: 28@ = get_int_from_ini_file "cleo\TeleportSettings.ini" section "Keys" key "Key2" end wait 0 0B34: samp register_client_command "ptp" to_label @teleport 0B34: samp register_client_command "pcp" to_label @teleportcp 0B34: samp register_client_command "ptpc" to_label @teleportcoordinates 0B34: samp register_client_command "pspos" to_label @savepos 0B34: samp register_client_command "plpos" to_label @loadpos 0B34: samp register_client_command "pback" to_label @teleportback 0B34: samp register_client_command "pmthelp" to_label @pmthelp while true wait 0 if Player.Defined($PLAYER_ACTOR) then 0A8D: 12@ = read_memory 0xBA6774 size 1 virtual_protect 0 if and 0AB0: 28@ 0AB0: 29@ 8039: 12@ == 0 then 0AB6: store_target_marker_coords_to 5@ 6@ 7@ 00A0: store_actor $PLAYER_ACTOR position_to 9@ 10@ 11@ 04E4: refresh_game_renderer_at 5@ 6@ Camera.SetAtPos(5@, 6@, 7@) 00A1: put_actor $PLAYER_ACTOR at 5@ 6@ -100.0 wait 500 end end end :teleport wait 0 0B35: samp 0@ = get_last_command_params if 0AD4: 30@ = scan_string 0@ format "%d" 0@ then if 0B23: samp is_player_connected 0@ then if 8B20: samp 4@ = actor_handle_by_samp_player_id 0@ then 0B2F: samp get_streamed_out_player_pos 0@ to 1@ 2@ 3@ else 00A0: store_actor 4@ position_to 1@ 2@ 3@ end 00A0: store_actor $PLAYER_ACTOR position_to 9@ 10@ 11@ 04E4: refresh_game_renderer_at 1@ 2@ Camera.SetAtPos(1@, 2@, 3@) Actor.PutAt($PLAYER_ACTOR,1@,2@,3@) else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: Player not connected." color 0xE3E3E3 end else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: Please enter a valid ID." color 0xE3E3E3 end Samp.CmdRet() :teleportcp wait 0 17@ = 0 for 13@ = 0 to 32 if 0AB1: @GetMarkerPosition 1 13@ 14@ 15@ 16@ then 17@ = 1 00A0: store_actor $PLAYER_ACTOR position_to 9@ 10@ 11@ 04E4: refresh_game_renderer_at 14@ 15@ Camera.SetAtPos(14@, 15@, 16@) 00A1: put_actor $PLAYER_ACTOR at 14@ 15@ 16@ end end if 17@ == 0 then 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: No checkpoint was found." color 0xE3E3E3 end Samp.CmdRet() :teleportcoordinates wait 0 0B35: samp 0@ = get_last_command_params if 0AD4: 30@ = scan_string 0@ format "%f %f %f" 1@ 2@ 3@ then 00A0: store_actor $PLAYER_ACTOR position_to 9@ 10@ 11@ 04E4: refresh_game_renderer_at 1@ 2@ Camera.SetAtPos(1@, 2@, 3@) 00A1: put_actor $PLAYER_ACTOR at 1@ 2@ 3@ end Samp.CmdRet() :savepos wait 0 0B35: samp 0@ = get_last_command_params if 0AD4: 30@ = scan_string 0@ format "%d" 0@ then 00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@ 0AD3: 4@v = format "%d" 0@ 0AF3: write_float 1@ to_ini_file "cleo\Teleports.ini" section 4@v key "X" 0AF3: write_float 2@ to_ini_file "cleo\Teleports.ini" section 4@v key "Y" 0AF3: write_float 3@ to_ini_file "cleo\Teleports.ini" section 4@v key "Z" else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: Please enter a valid teleport ID." color 0xE3E3E3 end Samp.CmdRet() :loadpos wait 0 if 0AAB: file_exists "cleo\Teleports.ini" then 0B35: samp 0@ = get_last_command_params if 0AD4: 30@ = scan_string 0@ format "%d" 0@ then 0AD3: 4@v = format "%d" 0@ if and 0AF2: 1@ = get_float_from_ini_file "cleo\Teleports.ini" section 4@v key "X" 0AF2: 2@ = get_float_from_ini_file "cleo\Teleports.ini" section 4@v key "Y" 0AF2: 3@ = get_float_from_ini_file "cleo\Teleports.ini" section 4@v key "Z" then 00A0: store_actor $PLAYER_ACTOR position_to 9@ 10@ 11@ 00A1: put_actor $PLAYER_ACTOR at 1@ 2@ 3@ else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: Not a valid teleport ID." color 0xE3E3E3 end else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: Please enter a valid teleport ID." color 0xE3E3E3 end else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: Teleports.ini was not found." color 0xE3E3E3 end Samp.CmdRet() :teleportback wait 0 if and 8043: 9@ == 0.0 8043: 10@ == 0.0 8043: 11@ == 0.0 then 0087: 18@ = 9@ 0087: 19@ = 10@ 0087: 20@ = 11@ 00A0: store_actor $PLAYER_ACTOR position_to 9@ 10@ 11@ 00A1: put_actor $PLAYER_ACTOR at 18@ 19@ 20@ else 0AF8: samp add_message_to_chat "[{BAFF00}PMT{E3E3E3}]: A valid previous position was not found." color 0xE3E3E3 end Samp.CmdRet() :pmthelp wait 0 0AC6: 20@ = label @help offset 0B3B: samp show_dialog id 2 caption "Mod by PopandauL" text 20@ button_1 "Close" button_2 "" style 0 Samp.CmdRet() :help hex 7b 46 46 46 46 46 46 7d 43 6f 6d 6d 61 6e 64 73 3a 0d 0a 7b 30 32 46 36 45 42 7d 2f 70 74 70 7b 43 30 46 46 30 31 7d 3a 20 74 65 6c 65 70 6f 72 74 20 74 6f 20 61 20 70 6c 61 79 65 72 20 28 65 67 2e 20 2f 70 74 70 20 31 30 29 2e 0d 0a 7b 30 32 46 36 45 42 7d 2f 70 63 70 7b 43 30 46 46 30 31 7d 3a 20 74 65 6c 65 70 6f 72 74 20 74 6f 20 63 68 65 63 6b 70 6f 69 6e 74 20 28 65 67 2e 20 2f 70 63 70 29 2e 0d 0a 7b 30 32 46 36 45 42 7d 2f 70 74 70 63 7b 43 30 46 46 30 31 7d 3a 20 74 65 6c 65 70 6f 72 74 20 74 6f 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 28 65 67 2e 20 2f 70 74 70 63 20 31 30 30 2e 30 20 31 30 30 2e 30 20 32 35 30 2e 30 29 2e 0d 0a 7b 30 32 46 36 45 42 7d 2f 70 73 70 6f 73 7b 43 30 46 46 30 31 7d 3a 20 73 61 76 65 20 61 20 70 6f 73 69 74 69 6f 6e 20 75 6e 64 65 72 20 61 20 64 65 63 69 6d 61 6c 20 6e 61 6d 65 20 28 65 67 2e 20 2f 70 73 70 6f 73 20 32 29 2e 0d 0a 7b 30 32 46 36 45 42 7d 2f 70 6c 70 6f 73 7b 43 30 46 46 30 31 7d 3a 20 6c 6f 61 64 20 61 20 70 6f 73 69 74 69 6f 6e 20 28 65 67 2e 20 2f 70 6c 70 6f 73 20 32 29 2e 0d 0a 7b 30 32 46 36 45 42 7d 2f 70 62 61 63 6b 7b 43 30 46 46 30 31 7d 3a 20 74 65 6c 65 70 6f 72 74 20 62 61 63 6b 20 74 6f 20 79 6f 75 72 20 6c 61 73 74 20 70 6f 73 69 74 69 6f 6e 2e 00 end :GetMarkerPosition //0AB1: @GetMarkerPosition 1 0@ 1@ 2@ 3@ 0@ *= 0xA0 0@ += 0xC7DD58 0@ += 0x30 0A8D: 1@ = read_memory 0@ size 4 virtual_protect 0 0@ += 0x4 0A8D: 2@ = read_memory 0@ size 4 virtual_protect 0 0@ += 0x4 0A8D: 3@ = read_memory 0@ size 4 virtual_protect 0 0@ += 0x1A 0A8D: 4@ = read_memory 0@ size 1 virtual_protect 0 if and 1@ == 1099.551025 2@ == 1601.496948 3@ == 11.555000 then 5@ = 0 else 5@ = 1 if and 1@ == 2695.624023 2@ == -1704.687988 3@ == 10.844000 then 6@ = 0 else 6@ = 1 if and 1@ == 0.0 2@ == 0.0 3@ == 0.0 then 7@ = 0 else 7@ = 1 end end end if and 4@ == 1 5@ == 1 6@ == 1 7@ == 1 then 0485: return_true else 059A: return_false end 0AB2: ret 3 1@ 2@ 3@
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Untitled
6 hours ago | 1.88 KB
Untitled
6 hours ago | 0.67 KB
Untitled
7 hours ago | 3.33 KB
Untitled
7 hours ago | 1.00 KB
Untitled
7 hours ago | 0.33 KB
Untitled
7 hours ago | 1.55 KB
my software
10 hours ago | 0.03 KB
disable countdown timer in cart for drop pric...
PHP | 15 hours ago | 0.23 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!