SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Thread Tools Display Modes
Old 13/01/2018, 04:10 PM   #131
maddinat0r's Avatar
Join Date: Jun 2010
Location: Germany
Posts: 888
Reputation: 460
Default Re: Discord Connector

Originally Posted by mishazver View Post
Will be support for the Russian language?
What kind of support? You already can send russian text, as long as it's encoded in UTF8.

EDIT: Just now noticed your attachment.
Discord sends UTF8-encoded text, so you'll have to re-encode it in a character set that supports displaying cyrillic characters on the client side.

Last edited by maddinat0r; 13/01/2018 at 04:58 PM.
maddinat0r is offline   Reply With Quote
Old 17/01/2018, 03:42 PM   #132
HydraHumza's Avatar
Join Date: Oct 2014
Posts: 642
Reputation: 123
Default Re: Discord Connector

Is this stable for now?
Owner of Call of Duty 4 Modern Warfare.
Originally Posted by Kalcor View Post
The fact is, I am right. And if you think I'm wrong, you are wrong.

HydraHumza is offline   Reply With Quote
Old 19/01/2018, 05:00 AM   #133
Big Clucker
Join Date: May 2016
Location: Philippines!!
Posts: 97
Reputation: 12
Default Re: Discord Connector


im getting an error on line 245

C:\Users\PC1\Desktop\SAMP\GM\filterscripts\CZMG Discord.pwn(245) : error 035: argument type mismatch (argument 1)

DC_CMD:dco(user, args)
	new msg[50];
	new formatter[1337];
	new user_name[32 + 1];
Line 245	if (!DCC_GetUserName(user, user_name))
		return 0; // invalid user

    if(sscanf(args, "s[50]", msg)) return SendDC(CHANNEL_ID, "[SYNTAX] /dco <Message> [Maximum 100 InputText]");
	format(formatter,sizeof(formatter),"{FFFFFF}(( {324061}%s: {FFFFFF} %s ))",user_name, msg);
	SendClientMessageToAll(-1, formatter);
	SendDC(CHANNEL_ID, "MESSAGE SENT IN-GAME: (( %s: %s ))");
    return 1;
SeanDenZYR is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Teamspeak Connector maddinat0r Plugin Development 319 19/01/2018 01:07 PM
Route Connector James_Braga Русский/Russian 9 15/05/2015 09:24 AM
[Map] Connector Gas Tellken Maps 4 01/06/2012 04:04 AM
PSU connector help! patchkinson Everything and Nothing 3 20/03/2010 10:24 PM

All times are GMT. The time now is 01:20 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.