SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Shetch
Forum: Plugin Development 19/02/2017, 05:45 PM
Replies: 5,545
[Plugin] Streamer Plugin
Views: 3,220,157
Posted By Shetch
Re: Streamer Plugin

Just ran into a problem with the plugin not loading with x64 Redistributable Package on x64 system. Download and install x86 version of the Redistributable Package and all is well. :)
Forum: Server Support 09/02/2017, 10:40 AM
Replies: 6
Views: 1,397
Posted By Shetch
Re: SAMP calls a timer with 1s as interval many times a second (by many, I mean a lot)

This is caused by GetTickCount() overflow after 24 days. Check the Wiki about it and how to avoid such issues.
Forum: Includes 29/01/2017, 12:11 AM
Replies: 71
Views: 45,908
Posted By Shetch
Re: TimestampToDate.inc - Convert a timestamp to a date!

When retrieving a timestamp from MySQL and converting it using your include, it spits out a 2017/02/01 date, even though it's 2017/01/29.

Here's a working fix/replacement:...
Forum: Server Support 20/01/2017, 02:53 PM
Replies: 10
Views: 5,865
Posted By Shetch
Re: DialogHider.cs (Dialog Hack)

I searched the SA-MP forums and found nothing but players complaining about this issue. That's why I created this thread.
Forum: Server Support 20/01/2017, 09:46 AM
Replies: 10
Views: 5,865
Posted By Shetch
Re: DialogHider.cs (Dialog Hack)

Do you mean showing a player dialog ID 1 and receiving response from dialog ID 2? I thought SA-MP server is already protected against invalid dialogid responses by itself, no?



Well, it was...
Forum: Server Support 20/01/2017, 08:50 AM
Replies: 10
Views: 5,865
Posted By Shetch
DialogHider.cs (Dialog Hack)

Hello SA-MP forums!

Very recently, PR-RP.com experienced a big influx of item duplicating which was caused by the DialogHider.cs CLEO modification. We of course knew that the items were being...
Forum: Scripting Help 28/06/2015, 09:35 AM
Replies: 3
Views: 422
Posted By Shetch
Re: SendDeathMessage with ID

It's not possible, no. You could create your own death messages using textdraws and that way you could show IDs and what not.
Forum: Scripting Help 27/06/2015, 04:28 AM
Replies: 2
Views: 392
Posted By Shetch
Re: How can i play stream audio with out appear the link

A server can't force-hide the link. Clients can use the command /audiomsg to hide it themselves.
Forum: Scripting Help 26/06/2015, 09:27 AM
Replies: 15
Views: 883
Posted By Shetch
Re: udb_hash symbol already defined

You already have the function udb_hash defined somewhere in your code.
Forum: Scripting Help 26/06/2015, 02:15 AM
Replies: 5
Views: 337
Posted By Shetch
Re: Formating Strings Help!

You can create a simple stock function that does that for you.

stock MaleFemale(gender)
{
new string[8];
if(gender == 1)
{
format(string, sizeof(string), "Male");
...
Forum: Scripting Help 25/06/2015, 04:19 AM
Replies: 11
Views: 1,691
Posted By Shetch
Re: anti-Air Break to adapt in my gamemode?

http://forum.sa-mp.com/search.php

Please... thanks.
Forum: Scripting Help 25/06/2015, 04:16 AM
Replies: 2
Views: 300
Posted By Shetch
Re: IsPlayerInRangeOfPoint question

I would suggest using zone names which would allow you to do exactly what (i think) you want.

http://forum.sa-mp.com/showthread.php?t=27598
Forum: Scripting Help 25/06/2015, 03:37 AM
Replies: 5
Views: 646
Posted By Shetch
Re: Saving CreateObject() in a .txt file?

Yea, I was thinking of using MySQL, but the map editor I expect to be used by mappers and they wouldn't bother installing XAMPP or any other MySQL private server software just to use a map editor,...
Forum: Scripting Help 25/06/2015, 03:31 AM
Replies: 6
Views: 775
Posted By Shetch
Re: [Y_INI]Registering with another account loads previous playerid account

You need to reset your player variables once the player disconnects. I'm sure you have a player enum array which stores stats like money, skin, etc. You'll need to reset those when the player...
Forum: Scripting Help 25/06/2015, 03:29 AM
Replies: 5
Views: 646
Posted By Shetch
Re: Saving CreateObject() in a .txt file?

How would I go about loading the saved objects? I'm new to SA-MP's default file functions...
Forum: Scripting Help 25/06/2015, 03:24 AM
Replies: 5
Views: 646
Posted By Shetch
Saving CreateObject() in a .txt file?

I have decided to make an in-game map editor which would load/save projects in the scriptfiles folder. It would save player created maps in the same format as they are used in scripts.

For...
Forum: Scripting Help 25/06/2015, 01:50 AM
Replies: 11
Views: 1,691
Posted By Shetch
Re: Re : anti-Air Break to adapt in my gamemode?

This code makes no sense. You're not even checking the speed of the player.
Forum: Scripting Help 25/06/2015, 01:45 AM
Replies: 6
Views: 543
Posted By Shetch
Re: custom map icons

You could create a script that draws small gang-zones on the map, but it's not worth the performance impact it might have. And just as prineside said above, a 32x32 map icon would take up all of the...
Forum: Scripting Help 24/06/2015, 11:40 PM
Replies: 14
Views: 1,004
Posted By Shetch
Forum: Scripting Help 24/06/2015, 11:38 PM
Replies: 5
Views: 1,417
Posted By Shetch
Re: Callsign, LSPD, gamemode. Warnings.

Change this:
new textcallsign[MAX_VEHICLES];

To this:
new Text3D:textcallsign[MAX_VEHICLES];

What do you mean by "Not working , both ways.."? Does it give you errors? Does it give you...
Forum: Scripting Help 24/06/2015, 11:35 PM
Replies: 6
Views: 432
Posted By Shetch
Re: Re : Help please :D

He's wants items on the ground that can be picked up, not default SA-MP Pickups.
Forum: Scripting Help 24/06/2015, 11:12 PM
Replies: 13
Views: 1,150
Posted By Shetch
Re: How to script XP System and Robbery system?

You are asking a very broad question. Use the search function and you'll find what you need since it has been done and asked a million times.
Forum: Scripting Help 24/06/2015, 11:09 PM
Replies: 5
Views: 567
Posted By Shetch
Re: mysql error

Re-compile your script with the new include.
Forum: Scripting Help 24/06/2015, 11:07 PM
Replies: 5
Views: 1,417
Posted By Shetch
Re: Callsign, LSPD, gamemode. Warnings.

Make sure your textcallsign variable is defines as Text3D.

For example:
new Text3D:textcallsign[10];
Forum: Scripting Help 24/06/2015, 11:05 PM
Replies: 14
Views: 1,004
Posted By Shetch
Re: lag - OnPlayerUpdate? [application-optimize code]

OnGameModeInit()
{
SetTimer("OnPlayerUpdateEx", 1000, true);
}

foward OnPlayerUpdateEx();
public OnPlayerUpdateEx()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 06:10 PM.


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