SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 369
Search took 0.01 seconds.
Search: Posts Made By: Richie©
Forum: Tutorials 08/05/2016, 10:54 PM
Replies: 50
Views: 27,494
Posted By Richie©
Re: Saving weapon data (MySQL)

you don't need to use mysql_format when you don't escape.
other then that, you don't check for race condition (if player uses the cmd and /q and another player connects with same ID and the callback...
Forum: Includes 02/04/2016, 06:54 PM
Replies: 845
Views: 168,987
Posted By Richie©
Re: weapon-config.inc - Damage system with many features

I got this



Happends inside static AddRejectedHit when playerid is invalid then new idx = s_RejectedHitsIdx[playerid] gets out of bounds.
Forum: Scripting Help 10/03/2016, 06:49 PM
Replies: 4
Views: 297
Posted By Richie©
Re: mysql query help

This is exactly what i wanted, thank you!
Forum: Scripting Help 08/03/2016, 01:22 PM
Replies: 4
Views: 297
Posted By Richie©
Question mysql query help

Hi

A long time ago i made a mistake by handling house table by playername instead of userid.
Its working, but i want the house table to be dealt with by userid instead.

The problem is that...
Forum: Includes 05/03/2016, 09:52 AM
Replies: 144
Views: 86,667
Posted By Richie©
Re: GeoIP (ISP, Country, City)

Yes, the city for me is way off now. It shows me living in a city > 1700km away.
I tried to find out by myself, found this: http://www.splitbrain.org/blog/2011-02/12-maxmind_geoip_db_and_sqlite...
Forum: Scripting Help 03/03/2016, 08:13 PM
Replies: 9
Views: 348
Posted By Richie©
Re: help

1: use the u specifier in sscanf.
2: check if player is online.
3: check if there is a free seat available.
4: you should probably check if players is nearby, coz now you can put a player inside...
Forum: Includes 02/03/2016, 09:38 PM
Replies: 14
Views: 7,949
Posted By Richie©
Re: Disable class selection

Time for samp to have OnPlayerPressF4(playerid);.
Forum: Includes 25/02/2016, 02:31 PM
Replies: 109
[Include] OnPlayerAirbreak
Views: 28,564
Posted By Richie©
Re: OnPlayerAirbreak

The new one detects me as airbreaking when i drive fast with infernus.
Forum: Client Support 17/02/2016, 11:26 AM
Replies: 130
Views: 34,668
Posted By Richie©
Re: SA-MP 0.3.7 Client - Internet list

This issue could have been solved a long time ago.. Its time to realise that if you want your server to appear in the samp client you have to pay for it.
Forum: General 17/02/2016, 09:50 AM
Replies: 1
Views: 370
Posted By Richie©
Tutorial section

Hi

Tutorial section is a good place for help sometimes, even for me.
But i would like to see them in categories there, like when you click on non english in this forum.

Beginner, where simple...
Forum: Scripting Help 08/02/2016, 02:28 PM
Replies: 2
Views: 315
Posted By Richie©
Re: Login

Hi bro, looks like you're treating mysql_tquery as non threaded. You should use mysql_query or put pass the threaded query to a callback.
Forum: Scripting Help 01/02/2016, 05:03 PM
Replies: 3
Views: 579
Posted By Richie©
Re: SetVehicleParamsCarDoors Issue

Read kalcors response;
http://forum.sa-mp.com/showthread.php?p=3441078#post3441078
Forum: Discussion 30/01/2016, 03:28 PM
Replies: 7
Views: 996
Posted By Richie©
Re: Cleo sprunks

Wont work, the sprunks are clientsided.

You could just use weapon-config and all health related cheats will be eliminated.
Forum: Discussion 30/01/2016, 12:15 PM
Replies: 4
Views: 2,239
Posted By Richie©
Re: GetServerTickRate()

64 seems very low. I have warnings printed if it goes below 120.
Forum: Discussion 29/01/2016, 07:37 PM
Replies: 4
Views: 2,239
Posted By Richie©
GetServerTickRate()

What is a good, decent and bad value of GetServerTickRate() ?

Its on ~180 on the server which is running my script.
Forum: Scripting Help 28/01/2016, 10:39 PM
Replies: 1
Views: 472
Posted By Richie©
Re: Actors error

You are probably trying to run a 0.3.7 compiled script on an older version of samp server.
Forum: Scripting Help 27/01/2016, 12:01 PM
Replies: 11
Views: 751
Posted By Richie©
Re: regarding a map code.

Why help him with map codes which is stolen by using mapstealer?
He didnt even remove the website print from the code he pasted...
Forum: Scripting Help 25/01/2016, 04:31 PM
Replies: 3
Views: 231
Posted By Richie©
Re: Help

Really?
You put it inside OnPlayerStateChange..
Forum: Includes 23/01/2016, 12:10 PM
Replies: 15
Views: 6,277
Posted By Richie©
Re: Fly Camera - Originally by Kalcor

It looked good, but it dosent work for me.
It just put me in spectate mode like im speccing nobody, im using simple code to toggle this:

CMD:flycam(playerid, params[])
{
...
Forum: Scripting Help 21/01/2016, 11:08 AM
Replies: 10
Views: 1,053
Posted By Richie©
Re: [REP++] Players getting 'server closed the connection'

This happend when i teleported to custom interior with about 600 streamed objects, whick makes sense since alot of msgs is sent to client. After increasing to 4000 i dont get ackslimit warnings.
Forum: Scripting Help 21/01/2016, 09:07 AM
Replies: 10
Views: 1,053
Posted By Richie©
Re: [REP++] Players getting 'server closed the connection'

Ackslimit is in server.cfg ...

I reached ackslimit in an area with alot of objects (~600) stremed in.
Not sure of any other way to exeed ackslimit.
Forum: Includes 09/01/2016, 11:03 PM
Replies: 845
Views: 168,987
Posted By Richie©
Re: weapon-config.inc - Damage system with many features

Only issue i have is that when NPC inside tram runs over players, OnInvalidWeaponDamage gets called and no damage is done. I mentioned this a few posts back.
Forum: Includes 08/01/2016, 05:47 PM
Replies: 845
Views: 168,987
Posted By Richie©
Re: weapon-config.inc - Damage system with many features

The latest version fixed my problem with OnVehicleSpawn, thanks!
Forum: Includes 08/01/2016, 03:42 PM
Replies: 845
Views: 168,987
Posted By Richie©
Re: weapon-config.inc - Damage system with many features

Everything is in gamemode, only thing in FS is maps with CreateDynamicObject.

Edit: i will test it in a couple of hours and give feedback, thanks.
Forum: Plugin Development 08/01/2016, 01:17 PM
Replies: 159
Views: 64,672
Posted By Richie©
Re: SKY - Slice's fork of kurta999's fork of YSF

No, when i used ysf and sky it caused crash, so i removed ysf so i could use this.

Edit:
This was caused by weapon-config.inc and was solved by Slice.
Could you put...
Showing results 1 to 25 of 369

 

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


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