DzkAy
Well-known member
- Joined
- Feb 20, 2014
- Messages
- 472
- Reaction score
- 1
So i'm trying to make a Coord save - teleporter in-game ... but it always cause crash when i typed command /c1save or /c1load .. :bawww:
Here's the source:
-If anyone know where's the Problem .. pls help me :surprised:
-Thanks very much for your help ! :urtheman:
Here's the source:
Code:
{$VERSION 3.1.0027}
{$CLEO .cs}
thread "10-Coords Teleporter"
0000: " 10-Coords Teleport by D.Kay "
0662: printstring "\-----------------------------------/"
0662: printstring "Credits D.Kay"
0662: printstring "\-----------------------------------/"
wait 5000
:CMD_66
wait 0
if
Player.Defined($PLAYER_ACTOR)
jf @CMD_66
0B34: samp register_client_command "c1save" to_label @DKAY_01
0B34: samp register_client_command "c1load" to_label @DKAY_02
:DKAY_999
wait 0
jump @DKAY_999
:DKAY_01
wait 0
if
Player.Defined($PLAYER_ACTOR)
else_jump @DKAY_01
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
0AF8: samp add_message_to_chat "{1B7DBF}COORD 2 {FFFFFF}Is Now Saved." color 0xFFFFFF 1@
wait 250
jump @DKAY_02
:DKAY_02
wait 0
if
Player.Defined($PLAYER_ACTOR)
else_jump @DKAY_02
Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)
0AF8: samp add_message_to_chat "{1B7DBF}COORD 1 {FFFFFF}Is Now Loaded." color 0xFFFFFF 1@
wait 250
jump @DKAY_01
-If anyone know where's the Problem .. pls help me :surprised:
-Thanks very much for your help ! :urtheman: