SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: SyS
Forum: Scripting Help 05/05/2020, 07:15 AM
Replies: 2
Views: 92
Posted By SyS
Re: Message showing two times

You might want to change the SendClientMessageToAll(DUEL, string); or add break in that last if condition

if(DuelCountdown == 0)
{
/*your code*/
break;
}

It sends to all players and the...
Forum: Plugin Development 01/05/2020, 03:55 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

New version released (0.3.0).Now supports proxy
https://github.com/Sreyas-Sreelal/tgconnector/releases/tag/0.3.0
Forum: Plugin Development 31/03/2020, 04:06 AM
Replies: 39
[Plugin] PawnScraper
Views: 9,495
Posted By SyS
Re: PawnScraper

It can simply done this way

//<img src="/templates/img/proxy-detected.png" style="vertical-align: top; width:24px;" alt="Proxy/VPN">
///replace the arguement to ParseHtmlDocument with your...
Forum: Plugin Development 31/03/2020, 02:59 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

Thank you for reporting this. I'll look into this issue.It might be helpful if you open an issue on github,so that i can track and manage it more conviniently and also because I'm not that actove in...
Forum: Plugin Development 18/03/2020, 07:54 AM
Replies: 39
[Plugin] PawnScraper
Views: 9,495
Posted By SyS
Re: PawnScraper

you might want to recompile the plugin for your server..
Forum: Plugin Development 24/02/2020, 02:15 PM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

You might be using TGConnectFromEnv function and passing a token.You should either use TGConnect function or set your token to a env variable and pass it to TGConnectFromEnv
Forum: Plugin Development 07/01/2020, 02:10 PM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

New version released

https://github.com/Sreyas-Sreelal/tgconnector/releases/tag/0.2.0
Forum: Scripting Help 29/10/2019, 05:38 PM
Replies: 1
Views: 115
Posted By SyS
Re: Mysql Help

You should provode more details in your question
Forum: Scripting Help 29/10/2019, 05:33 PM
Replies: 14
Views: 416
Posted By SyS
Re: Checking if no one's player-specific variable is equal to value

Just push the lotto numbers into an array with playerid as index .Get the random lotto number from this array and announce the corresponding playerid as the winner.
Or use y_iterate
Forum: Plugin Development 21/07/2019, 02:34 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

You may have different version of openssl or different architecture. (you need 32 bit libs not 64)
Try using arch linux build. It's compiled against openssl.11.If that didn't work try building the...
Forum: Scripting Help 17/07/2019, 12:49 PM
Replies: 8
Views: 232
Posted By SyS
Re: STOCK Problem!

You should provide more details.What you were expecting to happen? What you getting now?And properly ident and enclose the code in [php] or [code] tags so that others can read it.
Forum: Scripting Help 14/07/2019, 05:36 AM
Replies: 1
Views: 219
Posted By SyS
Re: scripts error problems

You are using old version of y_iterate that does not have vehicle iterator, update it to solve the issue.

https://github.com/pawn-lang/YSI-Includes
Forum: Plugin Development 14/05/2019, 05:14 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

New version (v0.1.1)
https://github.com/Sreyas-Sreelal/tgconnector/releases/tag/0.1.1

updated to latest sdk
added optional parameter thread_limit for natives TGConnect and TGConnectFromEnv
Forum: Scripting Help 09/05/2019, 03:31 PM
Replies: 1
Views: 152
Posted By SyS
Re: array index out of bounds

your last constant (lobbyPassword) in enum is 0 so when you declare the array LobbyInfo the upper block of 2nd index will be 1.Or in other words, the sizeof lobby enum is 1 as sizeof any enumerator...
Forum: Scripting Help 19/04/2019, 04:19 AM
Replies: 2
Views: 156
Posted By SyS
Re: Question

Show us what all you tried
Forum: Scripting Help 14/04/2019, 02:49 AM
Replies: 6
Views: 328
Posted By SyS
Re: string into array

I'm not sure what you trying to achieve.. But my best guess would be
Are you trying to convert hexadecimal value in string to integer?
Forum: Includes 11/04/2019, 03:41 PM
Replies: 10
Views: 2,328
Posted By SyS
Forum: Scripting Help 05/02/2019, 02:34 PM
Replies: 2
Views: 132
Posted By SyS
Re: warning 202: number of arguments does not match definition

Check the parameters of SendClientMessage.The functions accepts only 3 parameters.
Refer: https://wiki.sa-mp.com/wiki/SendClientMessage
Forum: Plugin Development 26/01/2019, 07:17 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

It's true.But still forwarding message to @get_id_bot is easier way and idk why it didn't work for you.
Forum: Plugin Development 26/01/2019, 02:18 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

There are couple of tricks to get chat id of a private channel.Here's one you can do in pawn itself.

Add your bot as admin in your channel.
Make channel public and set a user name (username is...
Forum: Scripting Help 23/01/2019, 12:39 PM
Replies: 6
Views: 256
Posted By SyS
Re: Function not calling

You are performing INSERT query no result is returned
So basically your function is calling but it get stopped at if(!num_rows)return 1;

public OnDoorsLoad()
{
new...
Forum: Scripting Help 23/01/2019, 11:44 AM
Replies: 6
Views: 256
Posted By SyS
Re: Function not calling

what's mysql_function_query (Show the definition)? Also show OnDoorsLoad
Forum: Scripting Help 22/01/2019, 06:42 AM
Replies: 4,144
Views: 634,727
Posted By SyS
Re: Little coding questions - For general minor queries 5

If it's a single constant there is no difference.But if it was an expression for example

#define EIGHT_PLUS_TWO 8+2

and

#define EIGHT_PLUS_TWO (8+2)

are different.
Forum: Plugin Development 22/01/2019, 06:08 AM
Replies: 24
Views: 8,682
Posted By SyS
Re: Telegram Connector

New version (v0.1.0)
https://github.com/Sreyas-Sreelal/tgconnector/releases/tag/0.1.0

Channel updates are now serialized correctly.
New callback OnTGChannelPost has been added.
Forum: Plugin Development 21/01/2019, 09:34 AM
Replies: 24
Views: 8,682
Posted By SyS
Telegram Connector

TgConnector

https://travis-ci.org/Sreyas-Sreelal/tgconnector.svg?branch=master (https://travis-ci.org/Sreyas-Sreelal/tgconnector)...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:51 AM.


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