krokodiL!
Member
- Joined
- Feb 15, 2014
- Messages
- 5
- Reaction score
- 0
Code:
:NONAME_6
wait 0
SAMP.IsCommandTyped(0@)
0AD4: 4@ = scan_string 0@ format "%d" 1@
else_jump @NONAME_2
wait 200
Model.Load(1@)
wait 200
038B: load_requested_models
wait 200
09C7: change_player $PLAYER_CHAR model_to 1@
So I have this code, I didn't copy the whole script but I loaded Samp functions. I made a command /skinset and basically I want if I type /skinset 120 the script sets me the model of the skin 120. With my current script when I type the command my game freezes. I looked in the chatlog because I added "samp add_message_to_chat" and I saw in chatlog that it spams the message. What's wrong?