Search Results
Could you add sampctl support?
42,256
There's original plugin: https://sampforum.blast.hk/showthread.php?tid=151076
And pluginless implementation: https://sampforum.blast.hk/showthread.php?tid=370852
560
Yup, you set the timer to be repeating:
pawn Код:
SetTimer("cerrojoTime", 500, true);// set it toSetTimer("cerrojoTime", 500, false);
807
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...
548
That's not the reason. Show 10 lines before and 10 lines after.
713
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 ...
648
If you want to use faster pawn compiler without having to edit some libraries, use "-Z+" flag.
34,189
Rename is a reserved keyword in SQL, that's why "`" helped.
564
https://dev.mysql.com/doc/refman/5.7...5-7-detailed-L
I believe "Lock" is a reserved keyword. Try wrapping it in "`"
8,033
From the maintainer himself: https://sampforum.blast.hk/showthread.php?tid=616103
478
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...
6,509
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.
441
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?
630
Look up "normalizing" tables, by Vince IIRC. When you start numbering fields (with a few exceptions), you are creating your structure wrong.
862
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...
600
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...
464
Reread my post. One or the other - not both at the same time.
753
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
633
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.
1,069
I'd suggest pbkdf2 but don't know if there are implementations for samp. Source for info about whirlpool being unsecure please.
3,173
