samp-discord-connector
samp-discord-connector copied to clipboard
Couldn't find any examples
Since I'm not that familiar with pawn and pawno, can you provide a basic quick-start/setup as a working example? For example, here: DCC_GetChannelId(DCC_Channel:channel, dest[DCC_ID_SIZE], max_size = sizeof dest); how should I define 'channel', and what should 'dest' look like?
All getter functions (DCC_GetSomething
) work with variable references:
new id[DCC_ID_SIZE];
DCC_GetChannelId(my_channel, id);
Additionally, those getters return true
or false
based on whether the value was successfully retreived or not.