Search Results
PHP Code:
PlayerMoney(playerid, amount = -1) {
static money[MAX_PLAYERS];
if(amount != -1) {
money[playerid] = amount;
GivePlayerMoney(playerid, amount - GetPl...
582
Should use as much as normal player, no? All it does is playing with packets and creating sa-mp npcs with normal player sync data.
174
Quote:
Originally Posted by kaZax
Gamemode on C++ faster than Gamemode on Pawn?
Yes.
edit: w/e yashas is everywhere :/
11,697
neat
Quote:
Originally Posted by maximthepain
Can you explain about when we should use stock or public and whats more optimized to which function?
ex:
Код:
public SavePlayerData(pl...
2,705
Awesome work man!
Few bugs:39 Anti-Dialog hack is not working when using y_dialogs.
Anti-Airbreak doesn't seems to work, and reports player after classSelection spawn. Fixed it by checking if player ...
60,470
Is it possible to hook callbacks? Are you planning to add command processor?
Quote:
Most plugins can also be used within samp.js, a special nodejs converter script can be ran which will c...
6,131
Quote:
Originally Posted by amirab
are you sure they're for 0.3.7 ?
it's 0.3z
I need version of 0.3.7 because now it doesn't detect fall damages or any damage that player do with him/herse...
33,506
If you have boolean variable like
Code:
new isEventRunning;
instead of doing this
Code:
if(isEventRunning) {
isEventRunning = false;
// do stuff
}
else {
isEventRunning = true;
// do...
10,190
Scavenge & Survive and NFSWorld by SDraw
283
Screenshot:
Download: http://pastebin.com/raw.php?i=iB7JHKst
Available functions:
Код:
InsertDebugLine(line[], ...);
ClearDebugLines();
ToggleDebugLines(playerid);
Example usage:
Код:
CMD:...
271
Holy shit that documentation! Good job, really.
p.s. better way to benchmark code: https://sampforum.blast.hk/showthread.php?tid=218491
1,392
SKY.dll - http://www.solidfiles.com/d/6e382673c4/
SKY.so - http://www.solidfiles.com/d/39872895b0/
33,506
Quote:
Originally Posted by Yashas
Its num args by the way..
right
10,190
So you can restart gamemode with rcon command gmx, without recreating same textdraws on top of the old ones.
EDIT: nvm, it's not true, I just tested it, and indeed global textdraws are destroyed auto...
383
Quote:
Originally Posted by Pottus
Another thing is you named this so damn generic in the topic "vehicles.inc" it means nothing really.
yup, that's true. vehicles-orm.inc should do the ...
455
By creating anticheat against these scripts I guess? Shouldn't be too hard having in mind that you have source of these cleo scripts.
186
Quote:
Originally Posted by Gammix
Hardly useful until it saves all vehicle information, Specially:
- Components (moding shops)
- Paintjob
- Attached Objects
- Damage status (like poped ti...
455
Hey there,
this include helps to save and load information of vehicles without much effort.
Available functions:
Code:
// Get unique vehicle id (sql id)
stock GetVehicleUID(vehicleid);
// Create...
455