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: Typhome
Forum: Scripting Help 15/03/2017, 11:25 PM
Replies: 7
Views: 761
Posted By Typhome
Re: Detection of SAMP/GTA installation folder [C#]

Check this (https://github.com/Whitetigerswt/samp_launcher/blob/master/samp_launcher.cpp).
Forum: Scripting Help 15/03/2017, 11:14 PM
Replies: 7
Views: 761
Posted By Typhome
Re: Detection of SAMP/GTA installation folder [C#]

How did you check if variables are correct?
Just to make sure...
string parameters = "-c -n " + playerinfo[0] + " -h 127.0.0.1 -p 7777";
Console.WriteLine(parameters); or something...
Forum: Scripting Help 15/03/2017, 11:05 PM
Replies: 7
Views: 761
Posted By Typhome
Re: Detection of SAMP/GTA installation folder [C#]

System.Diagnostics.Process.Start(installdirectory, "-c -n " + playerinfo[0] + " -h SERVER_IP -p 7777");

Have you read this topic (http://forum.sa-mp.com/showthread.php?t=552526)?
Forum: Scripting Help 15/03/2017, 10:56 PM
Replies: 7
Views: 761
Posted By Typhome
Re: Detection of SAMP/GTA installation folder [C#]

You can read this registry key that is created by SA-MP.

string gamePath = Registry.LocalMachine.OpenSubKey("Software\\SAMP").GetValue("gta_sa_exe").ToString();
...
Forum: Scripting Help 15/03/2017, 10:46 PM
Replies: 2
Views: 333
Posted By Typhome
Re: help

Try to add "bool:" before the "dini_Bool(...)".

PlayerInfo[playerid][GangOwner] = bool:dini_Bool(UserFile, "GangOwner");
Forum: Everything and Nothing 29/06/2016, 05:05 PM
Replies: 170
Views: 12,644
Posted By Typhome
Forum: Plugin Development 03/07/2015, 03:10 PM
Replies: 6,158
Views: 2,349,372
Posted By Typhome
Re: [REL] MySQL Plugin (Now on github!)

Please upload it and share link.

[root@ns326046 SA-MP-MySQL-R39-3]# make dynamic
Compiling plugin..
Compiling plugin SDK..
Linking (dynamic)..
Done.

[17:09:15]
[17:09:15] Server Plugins
Forum: Server Support 29/06/2015, 09:01 PM
Replies: 14
Views: 1,902
Posted By Typhome
Forum: Server Support 28/06/2015, 10:15 PM
Replies: 14
Views: 1,902
Posted By Typhome
Re: Server crashes randomly

It's actually new version of YSF, maybe plugin developer didn't updated define of version.

// What I've found in YSF source code: http://i.imgur.com/MkYKppf.png
Forum: Server Support 28/06/2015, 08:41 PM
Replies: 14
Views: 1,902
Posted By Typhome
Re: Server crashes randomly

If you could take a look into server log.. there's:
[28.06.2015 21:21:54]
[28.06.2015 21:21:54] Server Plugins
[28.06.2015 21:21:54] --------------
[28.06.2015 21:21:54] Loading plugin:...
Forum: Server Support 28/06/2015, 06:51 PM
Replies: 14
Views: 1,902
Posted By Typhome
Post Server crashes randomly

Our server crashes randomly. We're trying find out what's the problem, but we'll need help. If anyone knows what's up, then please let us know.

Operating system CentOS Linux 6.6
Kernel and CPU ...
Forum: Plugin Development 28/06/2015, 03:52 PM
Replies: 958
[Plugin] CrashDetect
Views: 390,552
Posted By Typhome
Re: CrashDetect

[28.06.2015 18:51:39] [debug] #11 f5f0a970 in ?? () from plugins/YSF.so
[28.06.2015 18:51:39] [debug] #10 f606a27c in ?? () from plugins/streamer.so
[28.06.2015 18:51:39] [debug] #9 f7480659 in ??...
Forum: Plugin Development 25/06/2015, 02:00 AM
Replies: 6,158
Views: 2,349,372
Posted By Typhome
Re: AW: [REL] MySQL Plugin (Now on github!)

If you have 32-bit operation system then put boost libraries into /usr/lib directory.

./bootstrap.sh --prefix=/usr
Because libboost contains lib folder, so only /usr => output: /usr/lib
./b2...
Forum: Plugin Development 24/06/2015, 10:54 PM
Replies: 6,158
Views: 2,349,372
Posted By Typhome
Re: AW: [REL] MySQL Plugin (Now on github!)

Could NOT find SAMPSDK (missing: SAMPSDK_DIR SAMPSDK_INCLUDE_DIR)

Make sure that you have sampsdk files at <project root>/libs/sdk.

Actually I haven't got correct mysql_static plugin, because...
Forum: Plugin Development 24/06/2015, 08:18 PM
Replies: 6,158
Views: 2,349,372
Posted By Typhome
Re: AW: [REL] MySQL Plugin (Now on github!)

Thank you. I've downloaded CentOS 6.6 32-bit (so I don't have to mess with 32 and 64 bit libraries).
I've downloaded all needed packages (like mysql, groupinstall "Development Tools", boost, etc).
...
Forum: Plugin Development 24/06/2015, 04:08 PM
Replies: 6,158
Views: 2,349,372
Posted By Typhome
Re: [REL] MySQL Plugin (Now on github!)

I have same problem on this page: http://forum.sa-mp.com/showthread.php?t=56564&page=558
Unfortunately there's no solution.

[root@localhost build]# cmake ..
-- The C compiler identification is...
Forum: Plugin Development 19/06/2015, 11:20 AM
Replies: 176
Sticky: [Tutorial] Plugin development guide
Views: 1,003,669
Posted By Typhome
Re: Plugin development guide

I've changed some "\" to "/" and compiler found include files.
Forum: Plugin Development 16/06/2015, 07:46 PM
Replies: 176
Sticky: [Tutorial] Plugin development guide
Views: 1,003,669
Posted By Typhome
Re: Plugin development guide

To return string/char, look first post and chapter "How to set a string". Yeah, also like that way as Vince said.
Forum: Scripting Help 23/05/2015, 06:19 PM
Replies: 8
Views: 2,650
Posted By Typhome
Re: Attach actor to player.

You can't, because there's no attach function.

http://wiki.sa-mp.com/wiki/Category:Actor
Forum: Everything and Nothing 27/04/2015, 12:26 PM
Replies: 80
Views: 4,595
Posted By Typhome
Re: SA-MP Player Languages

Estonian, English and German
Forum: Plugin Development 22/08/2014, 07:11 PM
Replies: 91
Views: 30,691
Posted By Typhome
Re: Timerfix plugin - A fix for every ttime related issue

Then create issue or reply same issue in github.
https://github.com/udan11/samp-plugin-timerfix/issues

// Nvm, I see that you already made it.
Forum: Plugin Development 26/07/2014, 12:22 PM
Replies: 91
Views: 30,691
Posted By Typhome
Re: Timerfix plugin - A fix for every ttime related issue

https://github.com/udan11/samp-plugin-timerfix/issues/2

It's now fixed, i hope that bug wont appear. Guys, please use github issue...
Forum: Scripting Help 09/02/2014, 10:56 AM
Replies: 1,102
Views: 789,658
Posted By Typhome
Re: SA-MP 0.3z RC4

Good job! I like this update.
Forum: Scripting Help 04/07/2013, 09:19 AM
Replies: 3
Views: 596
Posted By Typhome
Re: After formatting string it won't print string out

Nero_3D, thanks! Just this "Contact[]" fixed this problem.
Forum: Scripting Help 03/07/2013, 10:49 PM
Replies: 3
Views: 596
Posted By Typhome
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 05:56 PM.


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