Search

open.mp forum

RegisterLogin

Discussion

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/???????
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Team
Hidden
Archived

Library

 Collections Links Members Roles

samp-uuid-rs

samp-uuid-rs

ID
d6ouivnilegovhg7btog
author
carlos's avatar

Carlos

@carlos


View profile
Copy link
  Report member
started
Jul 10, 2021
replies
0
participating
No

scroll to top

powered by storyden

Login
Discussion
Plugins
samp-uuid-rs
carlos's avatar

Carlos

@carlos


View profile
Copy link
  Report member
• 4y
Plugins

samp-uuid-rs

plugin

samp-uuid-rs







This library provides a UUID v4?generator function.



UUIDs are generally used for identifying information that needs to be unique within a system or network thereof. Their uniqueness and low probability in being repeated makes them useful for being associative keys in databases and identifiers for physical hardware within an organization.



Installation



Simply install to your project:





sampctl package install carlos-menezes/samp-uuid-rs





Include in your code and begin using the library:



Quote

#include <uuid>





Usage





new dest[UUID_LEN];

UUID(dest);

printf("%s", dest); // xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx





Build



To build, run:





make build





Testing



To test, run:





make test

0 likes0 replies

    Please sign up or log in to reply