SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 368
Search took 0.01 seconds.
Search: Posts Made By: Richie©
Forum: Tutorials 08/05/2016, 09:54 PM
Replies: 56
Views: 32,832
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, 05:54 PM
Replies: 852
Views: 191,710
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, 05:49 PM
Replies: 4
Views: 329
Posted By Richie©
Re: mysql query help

This is exactly what i wanted, thank you!
Forum: Scripting Help 08/03/2016, 12:22 PM
Replies: 4
Views: 329
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, 08:52 AM
Replies: 147
Views: 91,458
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, 07:13 PM
Replies: 9
Views: 391
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, 08:38 PM
Replies: 15
Views: 8,911
Posted By Richie©
Re: Disable class selection

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

The new one detects me as airbreaking when i drive fast with infernus.
Forum: Client Support 17/02/2016, 10:26 AM
Replies: 130
Views: 36,370
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, 08:50 AM
Replies: 1
Views: 391
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, 01:28 PM
Replies: 2
Views: 348
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, 04:03 PM
Replies: 3
Views: 630
Posted By Richie©
Re: SetVehicleParamsCarDoors Issue

Read kalcors response;
http://forum.sa-mp.com/showthread.php?p=3441078#post3441078
Forum: Scripting Help 30/01/2016, 02:28 PM
Replies: 7
Views: 1,083
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: Scripting Help 30/01/2016, 11:15 AM
Replies: 4
Views: 2,511
Posted By Richie©
Re: GetServerTickRate()

64 seems very low. I have warnings printed if it goes below 120.
Forum: Scripting Help 29/01/2016, 06:37 PM
Replies: 4
Views: 2,511
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, 09:39 PM
Replies: 1
Views: 501
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, 11:01 AM
Replies: 11
Views: 862
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, 03:31 PM
Replies: 3
Views: 256
Posted By Richie©
Re: Help

Really?
You put it inside OnPlayerStateChange..
Forum: Includes 23/01/2016, 11:10 AM
Replies: 15
Views: 6,868
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, 10:08 AM
Replies: 10
Views: 1,173
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, 08:07 AM
Replies: 10
Views: 1,173
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, 10:03 PM
Replies: 852
Views: 191,710
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, 04:47 PM
Replies: 852
Views: 191,710
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, 02:42 PM
Replies: 852
Views: 191,710
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, 12:17 PM
Replies: 163
Views: 75,199
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 368

 

All times are GMT. The time now is 10:10 AM.


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