-
Notifications
You must be signed in to change notification settings - Fork 57
Home
Alex Martin edited this page Nov 27, 2019
·
4 revisions
Welcome to the samp-discord-connector wiki!
- Discord IDs are too large to fit inside pawn's 32-bit integers. Discord IDs must be provided as strings and converted to DCC integers through the DCC_Get* functions. The plugin stores the real IDs internally, your script will only contain the indexes for each of those.
- To send a private message to a user, you first have to open a PM channel by calling
DCC_CreatePrivateChannel
, passing a result callback, and callingDCC_GetCreatedPrivateChannel
in the result callback. The latter will return a channel id, which you can use to call other channel natives (for exampleDCC_SendChannelMessage
) with.
(( Work in progress ))