Search Results
Could you add sampctl support?
22,560
There's original plugin: https://sampforum.blast.hk/showthread.php?tid=151076
And pluginless implementation: https://sampforum.blast.hk/showthread.php?tid=370852
249
Yup, you set the timer to be repeating:
pawn Код:
SetTimer("cerrojoTime", 500, true);// set it toSetTimer("cerrojoTime", 500, false);
322
There are three (simplified) scenarios:
1. You need a callback, or the function is called by a timer: use forward + public
2. You write a function in your gamemode. Do not use anything! Just write:
p...
215
That's not the reason. Show 10 lines before and 10 lines after.
326
Usually it's done a bit differently:
pawn Код:
//instead#define VIPHEADSHOW true //just#define VIPHEADSHOW//instead#if VIPHEADTAG == true //I assume you wanted to put VIPHEADSHOW ...
273
If you want to use faster pawn compiler without having to edit some libraries, use "-Z+" flag.
21,187
Rename is a reserved keyword in SQL, that's why "`" helped.
248
https://dev.mysql.com/doc/refman/5.7...5-7-detailed-L
I believe "Lock" is a reserved keyword. Try wrapping it in "`"
200
From the maintainer himself: https://sampforum.blast.hk/showthread.php?tid=616103
215
Damn! That's a shame. Can you answer a few questions for me though? In which language did you write it? What's the performance of it for a "standard", non-modular, say, 100k lines project? How it deal...
2,917
Enum PlayerInfos doesn't contain those indexes. And it points at a better way to handle weapons (using an array wiht pWeapon), so stick to that.
237
pawn Код:
Spawned == false
Well, you want Spawned state of the current player, and Spawned is an array of players spawned status, so... Access it at playerid index?
297
Look up "normalizing" tables, by Vince IIRC. When you start numbering fields (with a few exceptions), you are creating your structure wrong.
456
pawn Код:
native Float:operator+(Float:oper1, Float:oper2) = floatadd;
This is an operator override for variables tagged with "Float", which is included by default with a_samp (float.inc to be exa...
292
You're on a good path. cache_get_data can be replaced with cache_num_rows (which only returns number of rows). Check out https://github.com/pBlueG/SA-MP-MySQ...a_mysql.inc.in for all the latest functi...
233
Reread my post. One or the other - not both at the same time.
317
From quick glance at the include, it seems when you stop aiming at the actor the callback gets called with newtarget = INVALID_ACTOR_ID. Use that
306
Could you search your gamemode for something like "#define isnull"? If you find it, remove the whole line as it is already provided by YSI.
549
I'd suggest pbkdf2 but don't know if there are implementations for samp. Source for info about whirlpool being unsecure please.
1,252