Search Results
Could you add sampctl support?
6,391
There's original plugin: https://sampforum.blast.hk/showthread.php?tid=151076
And pluginless implementation: https://sampforum.blast.hk/showthread.php?tid=370852
36
Yup, you set the timer to be repeating:
pawn Код:
SetTimer("cerrojoTime", 500, true);// set it toSetTimer("cerrojoTime", 500, false);
41
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...
33
That's not the reason. Show 10 lines before and 10 lines after.
39
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 ...
49
If you want to use faster pawn compiler without having to edit some libraries, use "-Z+" flag.
4,975
Rename is a reserved keyword in SQL, that's why "`" helped.
40
https://dev.mysql.com/doc/refman/5.7...5-7-detailed-L
I believe "Lock" is a reserved keyword. Try wrapping it in "`"
33
From the maintainer himself: https://sampforum.blast.hk/showthread.php?tid=616103
36
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...
823
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.
58
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?
59
Look up "normalizing" tables, by Vince IIRC. When you start numbering fields (with a few exceptions), you are creating your structure wrong.
94
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...
83
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...
98
Reread my post. One or the other - not both at the same time.
43
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
104
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.
172
I'd suggest pbkdf2 but don't know if there are implementations for samp. Source for info about whirlpool being unsecure please.
214