SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 37
Search took 0.00 seconds.
Search: Posts Made By: Marshas
Forum: Scripting Help 16/04/2019, 10:37 AM
Replies: 3
Views: 435
Posted By Marshas
Re: Email confirmation script.

Try to access this:
78.96.226.61/POTOL/email.php?code=%s&email=%s&message=This-is-a-message-generated-by-the-server.Hello-%s-Your-key-is-%s
Directly from chrome, pasting it in url. Php error should...
Forum: Scripting Help 13/04/2019, 10:58 AM
Replies: 1
Views: 116
Posted By Marshas
Re: Function hook problem

SOLVED!

I managed to fail, and hook CreateVehicle function at the end of the script, after calling CreateVehicle itself.
Forum: Scripting Help 13/04/2019, 10:16 AM
Replies: 1
Views: 116
Posted By Marshas
Function hook problem

Hello everyone!
I tried to hook CreateVehicle function with ALS method, but I just couldn't, it won't work, custom function isn't called, but there is no error saying, that _CreateVehicle is not...
Forum: Includes 10/04/2019, 11:54 AM
Replies: 8
Views: 1,245
Posted By Marshas
Re: multi-weapon2.inc - Multi-weapon switch system with a lot of features

Well done! I tried to do something similar to this, few weeks ago, but unfortunately, my patience gone :D
Forum: Scripting Help 02/04/2019, 05:20 PM
Replies: 1
Views: 127
Posted By Marshas
Re: Error help

This should work.
if((strlen(typ == 0) ? (FracRang[uid][i]) : (FamRang[uid][i])) < 2)
Forum: Scripting Help 02/04/2019, 05:09 PM
Replies: 1
Views: 199
Posted By Marshas
GetVehicleDamageStatus

Hello everyone. How should I properly use GetVehicleDamageStatus, UpdateVehicleDamageStatus, and most important - store it in mysql database? I can't fully understand how does bits works, how is they...
Forum: Scripting Help 23/03/2019, 03:47 PM
Replies: 2
Views: 1,630
Posted By Marshas
Re: Arabic support

Use sublime text 3. Copy whole file content, select it with ctrl + A, go to File >> Reopen with encoding >> Select your language. Arabic symbols in your file might suck up, thats why you copied whole...
Forum: Scripting Help 23/03/2019, 03:41 PM
Replies: 13
Views: 517
Posted By Marshas
Re: OnPlayerSwitchWeapon?

Yeah, I hoped maybe there is another way to do what I'm going to do, but seems like I should stay with OnPlayerUpdate. Thanks everyone who helped!
Forum: Scripting Help 22/03/2019, 08:52 PM
Replies: 13
Views: 517
Posted By Marshas
Re: OnPlayerSwitchWeapon?

Already tried that, read the comments below.
Forum: Scripting Help 22/03/2019, 05:43 PM
Replies: 13
Views: 517
Posted By Marshas
Re: OnPlayerSwitchWeapon?

That's the point. I do not need more often, I need in the right place in the right time. That's why I am searching for callback such as OnPlayerSwitchWeapon.
Forum: Scripting Help 22/03/2019, 05:15 PM
Replies: 13
Views: 517
Posted By Marshas
Re: OnPlayerSwitchWeapon?

Alright, I will try to figure something with timer. Thanks for response!

PS: What do you mean by saying "or something similar for this"? Like timestamp or tick count check in OnPlayerUpdate? Or...
Forum: Scripting Help 22/03/2019, 03:08 PM
Replies: 13
Views: 517
Posted By Marshas
Re: OnPlayerSwitchWeapon?

Yeah, tried something like that, but the thing is that I make over 50iterations on every weapon change, and that's big amount for OnPlayerUpdate which is called about 32 times a second as far as am I...
Forum: Scripting Help 22/03/2019, 02:35 PM
Replies: 13
Views: 517
Posted By Marshas
OnPlayerSwitchWeapon?

Hey everyone, is there any callback such as OnPlayerSwitchWeapon, OnPlayerChangeWeapon? I tried to use OnPlayerUpdate to detect when player changes weapon, but it's not stable lets say. It works...
Forum: Scripting Help 21/03/2019, 05:23 PM
Replies: 2
Views: 203
Posted By Marshas
Re: Hooking hooked functions

Alright, I will try it again. Thanks for response!
Forum: Scripting Help 21/03/2019, 05:08 PM
Replies: 2
Views: 203
Posted By Marshas
Hooking hooked functions

Hello everyone, is it possible to hook for example GivePlayerWeapon function in my gamemode (main .pwn file) if this functions is already hooked in other include? I tried to hook that function, but...
Forum: Scripting Help 10/03/2019, 06:23 AM
Replies: 2
Views: 227
Posted By Marshas
Forum: Scripting Help 09/03/2019, 04:49 PM
Replies: 2
Views: 227
Posted By Marshas
VPS failed connecting the database

Hello. I recently bought VPS, configured, etc and now, then I start server using nohup ./samp03svr & (I'm using Debian 9), server log prints this: connection error (Code #2003): Can't connect to...
Forum: Scripting Help 03/03/2019, 12:51 AM
Replies: 0
Views: 201
Posted By Marshas
FCNPC Pathfinding

Hello. Is there any pathfinder compatible with FCNL.
THANJ
Forum: Scripting Help 09/02/2019, 02:19 PM
Replies: 7
Views: 1,974
Posted By Marshas
Re: Best way to make log system?

Thanks for idea! I will definitely try that!

And yeah, I'm using mysql_pquery, but I prefer to keep my logs in separate database, cause I think there will be alot of them in future, just to...
Forum: Scripting Help 08/02/2019, 10:37 PM
Replies: 7
Views: 1,974
Posted By Marshas
Re: Best way to make log system?

Wouh, I wasn't expecting such serious answer! Thanks for your response, and let me explain you why I do not like your table and column management. I wanted to do something like player chat displaying...
Forum: Scripting Help 08/02/2019, 07:46 PM
Replies: 7
Views: 1,974
Posted By Marshas
Re: Best way to make log system?

I don't like the usage of that plugin. I already started creating my own unique MySQL logs saving :). Thanks for answer!
Forum: Scripting Help 07/02/2019, 09:44 PM
Replies: 7
Views: 1,974
Posted By Marshas
Question Best way to make log system?

Hello everyone. Today I decided to start making my log system and I'm confused a little bit how should I do it. Should I use file management or MySQL? I would like to see advantages and disadvantages...
Forum: Scripting Help 06/02/2019, 01:16 PM
Replies: 1
Views: 629
Posted By Marshas
Re: speed limit for car?

Use EVF include: https://forum.sa-mp.com/showthread.php?t=611142
SetVehicleSpeedCap(vehicleid,Float:maxspeed);
Forum: Scripting Help 06/02/2019, 01:13 PM
Replies: 3
Views: 435
Posted By Marshas
Re: What does NOP means?

I don't understand how does it associates with sa-mp anticheats? What should "No Operation" in sa-mp anticheat mean?
Forum: Scripting Help 06/02/2019, 01:05 PM
Replies: 3
Views: 435
Posted By Marshas
What does NOP means?

Hello everyone, so I came here to ask what does NOP stands for in anticheats? I searched g o o g le and sa-mp forum, but there is nothing at all, saying what this abbreviation could mean, everyone...
Showing results 1 to 25 of 37

 

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


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