Search Results
There's original plugin: https://sampforum.blast.hk/showthread.php?tid=151076 And pluginless implementation: https://sampforum.blast.hk/showthread.php?tid=370852
126
Yup, you set the timer to be repeating: pawn Код: SetTimer("cerrojoTime", 500, true);// set it toSetTimer("cerrojoTime", 500, false);
184
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...
125
That's not the reason. Show 10 lines before and 10 lines after.
192
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 ...
138
If you want to use faster pawn compiler without having to edit some libraries, use "-Z+" flag.
14,386
Rename is a reserved keyword in SQL, that's why "`" helped.
138
https://dev.mysql.com/doc/refman/5.7...5-7-detailed-L I believe "Lock" is a reserved keyword. Try wrapping it in "`"
91
From the maintainer himself: https://sampforum.blast.hk/showthread.php?tid=616103
111
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...
1,948
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.
136
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?
178
Look up "normalizing" tables, by Vince IIRC. When you start numbering fields (with a few exceptions), you are creating your structure wrong.
258
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...
196
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...
166
Reread my post. One or the other - not both at the same time.
149
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
186
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.
378
I'd suggest pbkdf2 but don't know if there are implementations for samp. Source for info about whirlpool being unsecure please.
645