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: Kaperstone
Forum: General 25/02/2018, 05:06 AM
Replies: 25
Views: 505
Posted By Kaperstone
Re: SA:MP Discord Rich Presence plugin

Gigantic image for a 128\px box.

Do anyone play SAMP on a 4k screen?
Forum: Plugin Development 21/02/2018, 10:01 PM
Replies: 308
Views: 105,350
Posted By Kaperstone
Re: Socket plugin (v0.2b released)

Can you upload the source? (GitHub for example)

and/or share a fork of the source with the new updates?
Forum: Scripting Help 21/02/2018, 09:58 PM
Replies: 8
Views: 152
Posted By Kaperstone
Re: [HELP] Furniture

worldid = virtual world id
Forum: Scripting Help 21/02/2018, 09:13 PM
Replies: 13
Views: 268
Posted By Kaperstone
Re: Vehicle doesn't spawn

1. use fVehPosX fVehPosY etc. it is faster than multi dimensional.
2. Can you post the code of Vehicle_ResetData or have you checked the logs with the crashdetect plugin?
Forum: Scripting Help 21/02/2018, 09:07 PM
Replies: 1
Views: 66
Posted By Kaperstone
Re: Check records in mysql

you use mysql_tquery to send the query and then on the callback you use cache_num_rows() to get the number of rows.

Example from Wiki
forward OnPlayerDataLoaded(playerid);

public...
Forum: Scripting Help 21/02/2018, 08:32 PM
Replies: 2
Views: 66
Posted By Kaperstone
Re: Detect listitem

* Just noticed that it was already was answered with a better solution than mine.


Create an array with relationship between the listitem and the output ID, and when under OnPlayerDialogResponse...
Forum: Scripting Help 21/02/2018, 08:25 PM
Replies: 8
Views: 152
Posted By Kaperstone
Re: [HELP] Furniture

I don't understand what's the issue with CreateDynamicObject, you can specify the default values if you don't intend to change them and just specify a value for the playerid and/or interiorid?...
Forum: Scripting Help 21/02/2018, 08:22 PM
Replies: 6
Views: 175
Posted By Kaperstone
Re: MySQL saving everything apart from playerdata

I haven't looked at the content, only at the picture.

But is pretty expected to not work.

You don't have default values for the field `ConnTime` (notice the default `None`) and so it cannot...
Forum: General 21/02/2018, 06:45 AM
Replies: 15
Views: 422
Posted By Kaperstone
Re: Command Binding

Hello,


SA:MP hacking forums for your service.
So you want to setup an ez aimbot to be turned on while you type?
Forum: Scripting Help 21/02/2018, 06:43 AM
Replies: 6
Views: 175
Posted By Kaperstone
Re: MySQL saving everything apart from playerdata

Why the username is 128 long, the max name length in-game is 20
Why is the IP 128 long, the max ipv2 length is 16
Why register and lastlogin are varchars and not int
Why are all the int's so huge....
Forum: Scripting Help 21/02/2018, 05:10 AM
Replies: 8
Views: 208
Posted By Kaperstone
Re: Would this code work

The string sizes are horrible and you didn't close the quotation mark.

I think you should name it "creategroupforplayer" as more accurate name and this part
if(PlayerInfo[playerid][pAdmin] < 5) ...
Forum: Plugin Development 17/02/2018, 05:25 PM
Replies: 179
[Plugin] Pawn.RakNet
Views: 43,188
Posted By Kaperstone
Re: Pawn.RakNet

Thanks for correcting.
Forum: Plugin Development 17/02/2018, 01:43 PM
Replies: 43
[Plugin] Log plugin
Views: 18,953
Posted By Kaperstone
Re: Log plugin

Did you create `moneylog` with Logger: prefix?

enum PLAYER {
Logger:moneylog
}
Forum: Plugin Development 17/02/2018, 11:23 AM
Replies: 179
[Plugin] Pawn.RakNet
Views: 43,188
Posted By Kaperstone
Re: Pawn.RakNet - write the best anticheat

KEY_FIRE is defined to be 4 because binarically it will turn an integer in the set to 1.

To disable KEY_FIRE do
SetPlayerDisableKeysSync(playerid, KEY_FIRE);
to enable again do...
Forum: Plugin Development 14/02/2018, 04:25 PM
Replies: 132
Views: 38,512
Posted By Kaperstone
Re: SKY - Slice's fork of kurta999's fork of YSF

Seems like this plugin defines TextDrawSetStringForPlayer while Kurta's YSF also defines this native.

Is it safe to ignore one of the defined natives and load both of the plugins? (I don't use...
Forum: Scripting Help 13/02/2018, 05:01 PM
Replies: 7
Views: 153
Posted By Kaperstone
Re: textdraw help

http://forum.sa-mp.com/showthread.php?t=537468

Or create a looping timer that calls itself every few milliseconds, pushing another character to the bar.
You can use a variable to increase from 0...
Forum: Scripting Help 13/02/2018, 12:49 PM
Replies: 7
Views: 121
Posted By Kaperstone
Re: Server banned you from this server

Increase the ackslimit in your server.cfg
http://wiki.sa-mp.com/wiki/Server.cfg#Networking
Forum: Plugin Development 11/02/2018, 08:56 AM
Replies: 308
Views: 105,350
Posted By Kaperstone
Re: Socket plugin (v0.2b released)

There aren't and probably won't be, BlueG haven't replied to any of the replies and no one other than him maintance the plugin.
Forum: General 10/02/2018, 05:59 AM
Replies: 2
Views: 281
Posted By Kaperstone
Re: Problem with my acccount.

Contact dugi, ensure that you didn't mistype your email or enjoy your new account :)
Forum: Everything and Nothing 08/02/2018, 05:31 AM
Replies: 71
Views: 4,117
Posted By Kaperstone
Forum: Server Support 07/02/2018, 07:58 AM
Replies: 3
Views: 169
Posted By Kaperstone
Re: Swimming lag? How to fix

Seem to be something with the built-in FPS limiter in options.

Tho, it is not recommended by the game dev, you can try to turn off the FPS limit and try to swim.
Forum: General 07/02/2018, 02:03 AM
Replies: 17
Views: 841
Posted By Kaperstone
Forum: Scripting Help 07/02/2018, 01:47 AM
Replies: 5
Views: 114
Posted By Kaperstone
Re: Doubt Visual C ++ Redistributable. +REP.

What error? post the server_log
What operation system are you running? How do you include streamer in your server.cfg?
if it's linux, it should have the suffix of .so and the file in the /plugins...
Forum: General 04/02/2018, 05:48 AM
Replies: 17
Views: 1,232
Posted By Kaperstone
Re: [no.1] Scripting challange [Ferris Wheel] !

Took him 1 hour and 3 minutes to close the competition/challenge and declare a win for a script that won't even work.


I personally, think this whole thing is useless, this is what "snippet"...
Forum: Maps 03/02/2018, 08:10 PM
Replies: 14
Views: 559
Posted By Kaperstone
Re: Desert Airport ! Remake !

When you know what to do, anything is easier.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 03:47 PM.


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