SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: SyS
Forum: Plugin Development 21/07/2019, 02:34 AM
Replies: 17
Views: 3,643
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: 162
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: 104
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: 17
Views: 3,643
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: 117
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: Model Releases 19/04/2019, 05:40 AM
Replies: 11
Views: 2,782
Posted By SyS
Forum: Model Releases 19/04/2019, 04:54 AM
Replies: 3
Views: 1,221
Posted By SyS
Forum: Scripting Help 19/04/2019, 04:19 AM
Replies: 2
Views: 113
Posted By SyS
Re: Question

Show us what all you tried
Forum: Scripting Help 14/04/2019, 02:49 AM
Replies: 6
Views: 282
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: 1,648
Posted By SyS
Forum: Tutorials 17/02/2019, 03:41 PM
Replies: 10
Views: 1,419
Posted By SyS
Re: Returning strings and arrays

Really informative.I always wondered how could the local address be valid after the called function ends it's execution.This article cleared it for me.
Forum: Scripting Help 05/02/2019, 02:34 PM
Replies: 2
Views: 102
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: 17
Views: 3,643
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: 17
Views: 3,643
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: 202
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: 202
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,122
Views: 591,551
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: 17
Views: 3,643
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: 17
Views: 3,643
Posted By SyS
Telegram Connector

TgConnector

https://travis-ci.org/Sreyas-Sreelal/tgconnector.svg?branch=master (https://travis-ci.org/Sreyas-Sreelal/tgconnector)...
Forum: Plugin Development 21/01/2019, 01:36 AM
Replies: 21
Views: 3,686
Posted By SyS
Forum: Scripting Help 13/01/2019, 03:32 PM
Replies: 4
Views: 147
Posted By SyS
Re: Refuel command.

I believe

if(IsPlayerInRangeOfPoint(playerid, 5.0, 572.5297+11400,-2759.7271-10000,13.9872) && IsPlayerInRangeOfPoint(playerid, 5.0, 12368.1885,-11937.6396,5.5338) &&...
Forum: Plugin Development 13/01/2019, 05:31 AM
Replies: 34
[Plugin] PawnScraper
Views: 5,126
Posted By SyS
Re: PawnScraper

New Version (v0.2.0)
https://github.com/Sreyas-Sreelal/pawn-scraper/releases/tag/0.2.0

Changes

Added CreateHeader,DeleteHeader natives
Changed function signatures of HttpGet and...
Forum: Scripting Help 02/01/2019, 01:49 AM
Replies: 1
Views: 116
Posted By SyS
Re: array index out of bounds

Check the declaration of arrays.The array index that you accessing might be larger than the highest valid entry of the array.
Also in the function UpdateThePutis you are using variable i as index...
Forum: Scripting Help 30/12/2018, 03:41 AM
Replies: 1
Views: 129
Posted By SyS
Re: [Help] Giving error

First of all that code is unreadable.Secondly org variable is not an array but you trying to use subscript operators([ and ] ) with it.
Forum: Scripting Help 28/12/2018, 07:01 AM
Replies: 6
Views: 217
Posted By SyS
Re: How do I SCM when this timer hits 0?

Since you are going to use SetTimerEx and you are not showing rest of time to wait,you don't have to use gettime,instead use an array say CarRepairLock


//global array or just add as an enum...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 07:54 PM.


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