SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: MrAuto
Forum: Scripting Help 23/03/2020, 09:22 PM
Replies: 11
Views: 308
Posted By MrAuto
Re: [Problem] setplayerobjectmaterialtext with getplayerspeed

new object[MAX_PLAYERS];
public OnGameModeInit()
SetTimer("greitisupdate", 250, true);
for(new i; i < MAX_PLAYERS; i++)
object[i] = CreateDynamicObject(10837, -2550.280029, 571.049988,...
Forum: Scripting Help 15/03/2020, 08:10 PM
Replies: 8
Views: 314
Posted By MrAuto
Re: Big Timers Problem

About that gamemod, did you make it yourself? was it made specifically for this version of sa:mp or just modified to go with it?

If it's just the repeat argument, maybe set it to false and start...
Forum: Scripting Help 24/11/2019, 09:11 AM
Replies: 5
Views: 256
Posted By MrAuto
Re: On press 2,4,6,8

it should work fine in vehicle

also is better to use definitions like #define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Forum: Scripting Help 28/10/2019, 10:53 AM
Replies: 5
Views: 269
Posted By MrAuto
Re: PWN file, dont see lines

File too big for your editor?
try Notepad++
Forum: Includes 20/10/2019, 11:10 AM
Replies: 8
Views: 1,839
Posted By MrAuto
Re: SDiag - automatic diagnostics of frequent problems when the server starts

This is not problem with GetTickCount but with not using it incorrectly, also why would you check for specific amount of ticks ? it's can't be used as metric of time
Forum: Scripting Help 19/10/2019, 09:20 AM
Replies: 10
Views: 609
Posted By MrAuto
Re: Random Team

you don't need table Count[MAX_PLAYERS] to count down

#include <a_samp>

#define Police 0
#define SUSPECT 1
new Timer[MAX_PLAYERS];
Forum: Includes 19/10/2019, 08:44 AM
Replies: 8
Views: 1,839
Posted By MrAuto
Re: SDiag - automatic diagnostics of frequent problems when the server starts

This is normal behavior, it's nothing wrong with it
You only ever use GetTickCount to measure short amount of time preciously and the result is difference between two states of GetTickCount, so i...
Forum: Scripting Help 26/09/2019, 08:31 PM
Replies: 4,143
Views: 630,213
Posted By MrAuto
Re: Little coding questions - For general minor queries 5

It doesn't matter, if you would let players desync in virtual world then bringing them back would require sync again, that much more complicated then just sync them no matter what. Also players are...
Forum: Plugin Development 22/09/2019, 10:04 AM
Replies: 18
[Plugin] Directory 2.0
Views: 14,859
Posted By MrAuto
Post Re: Directory 2.0

Link to soucre code from other website:
and include

hope it helps somebody
Showing results 1 to 9 of 9


All times are GMT. The time now is 03:21 AM.

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