Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- then
- 0B36: samp 2@ = get_player_nickname 0@
- if 8C14: strcmp string1 24@ string2 2@
- then
- //player just connected
- 0B37: samp 3@ = get_player_color 0@
- 0AD1: show_formatted_text_highpriority " %s (id: %d): Prisijunge." color 3@ 2@
- 0AF5: write_string 2@ to_ini_file "CLEO\INI\doorKeeper.ini" section "Name" key 25@v
- end
- else
- //check if disconnected
- 0AD3: 10@ = format "nope"
- if 8C14: strcmp string1 24@ string2 10@
- then
- //player just disconnected
- 0AD1: show_formatted_text_highpriority "%s (id: %d): Atsijunge." color 0xABABAB 24@ 0@
- 0AF5: write_string 10@ to_ini_file "CLEO\INI\doorKeeper.ini" section "Name" key 25@v
- end
- end
- 0AC9: free_allocated_memory 24@
- 0AC9: free_allocated_memory 10@
- 0AB2: ret 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement