SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 234
Search took 0.01 seconds.
Search: Posts Made By: Aliassassin123456
Forum: Plugin Development 03/03/2018, 02:32 PM
Replies: 12
Views: 7,052
Posted By Aliassassin123456
Re: [FIXED] Fixes2 - timer accuracy

Just use SetTimer_ & SetTimerEx_!
As I said, I haven't experienced any issue on my server for 3 years, if anyone is claiming that this issue with these 2 functions still exist, please explain to me...
Forum: Plugin Development 03/03/2018, 01:02 PM
Replies: 12
Views: 7,052
Posted By Aliassassin123456
Re: [FIXED] Fixes2 - timer accuracy

What? I'm using his source code on my plugin for over 3 years with so many players and a BIG script using lots of timers, did not encounter such issue you're pointing to! I have exactly a global...
Forum: Tutorials 09/12/2017, 06:20 AM
Replies: 23
[Tutorial] RPC - Pawn.RakNet
Views: 14,707
Posted By Aliassassin123456
Re: RPC - Pawn.RakNet

Nice tutorial, it will surely help people understand how server communicate with client using RakNet and how to work with Pawn.RakNet.



I looked into samp-server, it looks like RPC ID 44...
Forum: Everything and Nothing 06/12/2017, 11:49 AM
Replies: 5
Views: 927
Posted By Aliassassin123456
Re: GTA:SA - SAMP Relationship

SAMP with Rockstar or t2? Hell no never

I heard a rumor that MTA:SA got some connections with r*, well I'm agree as they have found more than 80% of symbols name in gta sa executable file, some of...
Forum: Includes 10/11/2017, 08:45 AM
Replies: 6
Views: 2,636
Posted By Aliassassin123456
Re: JDF - Solar (Jalali) Date and Time functions

Cool release :cool:
By the way you can use static constant variables or macros instead.
https://github.com/ShynRhm/SAMP-JDF/blob/master/JDF.inc#L23
Forum: Scripting Help 15/10/2017, 12:36 AM
Replies: 2
Views: 314
Posted By Aliassassin123456
Re: GetArrayIndex

What is your array?
It depends what do you need exactly, like if it's a vehicle model id array and you wanted to locate Infernus (Model ID: 411) index in the array, this is our array and this is how...
Forum: Tutorials 28/09/2017, 09:17 AM
Replies: 32
[Tutorial] Choosing a compiler
Views: 13,435
Posted By Aliassassin123456
Re: Choosing a compiler

It doesn't send any packet or creating socket, alright, but for NOW!
Even that backdoor thing, it may doesn't add a backdoor in your script for now but what if he is waiting for us to trust him? I...
Forum: Scripting Help 24/09/2017, 05:04 AM
Replies: 4
Views: 1,840
Posted By Aliassassin123456
Re: [HELP] Money limit

Even if he does, he can't has more than 2147483647 or less than 2147483648. (INT32 Pawn Limit) So I would answer: NO.
Why you ever need that much money? Are you simulating Bill Gates on your server...
Forum: Plugin Development 20/09/2017, 03:23 PM
Replies: 6,158
Views: 2,355,104
Posted By Aliassassin123456
Re: [REL] MySQL Plugin (Now on github!)

Thanks, it's now working.
Forum: Plugin Development 20/09/2017, 11:47 AM
Replies: 6,158
Views: 2,355,104
Posted By Aliassassin123456
Re: [REL] MySQL Plugin (Now on github!)

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-client-5.5:i386' instead of 'mysql-client:i386'
Some packages could not be...
Forum: Plugin Development 20/09/2017, 11:11 AM
Replies: 6,158
Views: 2,355,104
Posted By Aliassassin123456
Re: [REL] MySQL Plugin (Now on github!)

I got so many errors trying to install those, I think I should install i386 version of the OS but is that really necessary? isn't there another way?
Forum: Plugin Development 20/09/2017, 10:38 AM
Replies: 6,158
Views: 2,355,104
Posted By Aliassassin123456
Re: [REL] MySQL Plugin (Now on github!)

I'm trying to compile latest version of the plugin using Ubuntu 14.04.5 and it fails with this error:

[100%] Building CXX object src/CMakeFiles/mysql.dir/main.cpp.o
Linking CXX shared module...
Forum: Plugin Development 16/09/2017, 12:19 PM
Replies: 260
[Plugin] Pawn.RakNet
Views: 120,616
Posted By Aliassassin123456
Re: Pawn.RakNet - write the best anticheat

Am I missing something in Pawn or this condition is useless?

const AIM_SYNC = 203;

IPacket:AIM_SYNC(playerid, BitStream:bs)
{
new aimData[PR_AimSync];

BS_IgnoreBits(bs, 8);
...
Forum: Scripting Help 10/09/2017, 05:33 AM
Replies: 4
Views: 864
Posted By Aliassassin123456
Re: Vehicle Collision Detection

Bump.
I believe there are professional math people here.
Come on, anyone?
Forum: Scripting Help 08/09/2017, 07:00 PM
Replies: 4
Views: 864
Posted By Aliassassin123456
Re: Vehicle Collision Detection

Sorry, it's hard to read.
Can you write it here? (Draw it using paint or something)
Forum: Scripting Help 08/09/2017, 01:54 PM
Replies: 4
Views: 864
Posted By Aliassassin123456
Vehicle Collision Detection

Hi, I'm trying to write a Check Line of Sight function here and I need to know how to detect vehicle collision.
I know I can detect collision of the map using ColAndreas plugin but it doesn't detect...
Forum: Scripting Help 24/11/2016, 10:51 AM
Replies: 5
Views: 324
Posted By Aliassassin123456
Re: Just a little help!

Is it Scripting Help or Lazy People Help? :lol:
Forum: Scripting Help 24/11/2016, 10:48 AM
Replies: 12
Views: 966
Posted By Aliassassin123456
Re: Splitting message doesn't work

It's your code again ;)
Increase the size of "result"
Modify it to:

if(strcmp(cmd, "/me", true) == 0)
{
new strmsg[128];
new strmsgex[128];
GetPlayerName(playerid,...
Forum: Scripting Help 24/11/2016, 12:50 AM
Replies: 9
Views: 1,057
Posted By Aliassassin123456
Re: Selection and deselection of Textdraws

You can enable the box and with the lowest numbers in TextDrawTextSize you can specify clickable area, there is other ways that I don't know or I don't remember. Just modify TextDrawTextSize and move...
Forum: Tutorials 24/11/2016, 12:42 AM
Replies: 9
Views: 5,110
Posted By Aliassassin123456
Re: FIX: Failed to set data for ''

How can you guys code in Pawno :eek:
It's the worst editor I ever seen, it was written a long time ago and it didn't update!
You can code faster and better on the new modern editors...
Forum: Scripting Help 24/11/2016, 12:20 AM
Replies: 4
Views: 389
Posted By Aliassassin123456
Re: [Help] Problem sscanf window server2016

Which sscanf are you using?
Is it maddinat0r's ?
(Also I think it's not related to this section of forum)
Forum: Scripting Help 24/11/2016, 12:16 AM
Replies: 12
Views: 966
Posted By Aliassassin123456
Re: Splitting message doesn't work

Because you didn't code it right :D
Modify it to:

if(strcmp(cmd, "/me", true) == 0)
{
new strmsg[128];
new strmsgex[128];
GetPlayerName(playerid,...
Forum: Scripting Help 24/11/2016, 12:06 AM
Replies: 4
Views: 548
Posted By Aliassassin123456
Re: string lenght 755?

I never say don't use string sizes like 128, 256, 512 etc.
Use the lowest size that is really required, I have a "new string[2000];" in my script and I really need it! No body can says that is...
Forum: Scripting Help 24/11/2016, 12:00 AM
Replies: 9
Views: 1,057
Posted By Aliassassin123456
Re: Selection and deselection of Textdraws

Hi.
I think you used some third-party tools to create your selectable textdraws, I see many of them aren't standard and you have to modify the TextSize yourself if you want to have correct clickable...
Forum: Scripting Help 23/11/2016, 11:50 PM
Replies: 12
Views: 966
Posted By Aliassassin123456
Re: Splitting message doesn't work

If you are going to use it within your ProxDetector function, follow this example:

new strmsgex[128];
if(SplittedMessage(strmsg, strmsgex, sizeof strmsg, sizeof strmsgex))
{
...
Showing results 1 to 25 of 234

 

All times are GMT. The time now is 02:48 PM.


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