Search Results
For anyone looking for Python 3 support, check out my library: https://github.com/mick88/samp-client
3,411
The library is now updated to 2.0 - added support for Python 3
1,631
Due to discontinued support/maintenance for sa-mp python client I decided to write my own from scratch.
My library is open-source, and I believe it to be easier to use and result in cleaner Python co...
1,631
When I install this in my project's virtualenv using pip, it installs samples and readme.txt in my project's root directory. Is this intentional?
3,411
Yesterday I came up with a script to extract all function headers from gamemode and put them into an .inc file.
You can use this to get auto completion working for all your gamemode functions!
Attac...
598
Some servers need to server as noob-magnets, you you get mature players on your own server
841
Hi Jochemd, I think it's great that you decided to make this useful include.
I had a quick look at your code and I think it doesn't support negative timestamp. I made something like this the other da...
11,890
You have to put all "RemoveBuildingForPlayer" in OnPlayerConnect callback, and "CreateDynamicObject" in OnGamemodeInit.
403
Quote:
Originally Posted by System64
very nice, rep+
can you explain what this code do:
pawn Код:
val += acc << (s*8);
I just want to know, specially for what use is <<
...
1,005
It's been a while since I released my last script. This time I'm bringing you functions to encode/decode IP addresses.
Why would you want to encode IP addresses? For efficiency! An IP address is tech...
1,005
Quote:
Originally Posted by SPAWN_METAL
Is it possible to ignore some times crash function?
in my server when I'm update gamemode I close server not with rcon exit
because this is kicks al...
54,909
Yeah, right, create another gf edit and dont get creative.
5,123
He should ask one of the server owners or its players, what server chat log says when it happens. Probably just Time Out. It's cused by lost conection.
716
try to print() the content of inputtext. If there's anything before the number, the strval() will return 0. There's a chance you put some unnecessary character between list items.
516
They do "work" for me as in they seem to attract some new players, but also attract a wave of cheaters... so some time ago I decided to quit posting in that section (with exception to 1 advertisement ...
2,920
Use these:
https://sampwiki.blast.hk/wiki/OnPlayerConnect
https://sampwiki.blast.hk/wiki/GameTextForPlayer
572
I think you should set value to variable ID before this:
pawn Код:
format(String, sizeof(String), "SELECT * FROM `ownedcars` WHERE `ID` = %i", ID);
Also, when player enters vehicle, you are chec...
279
pawn Код:
#define MAX_HOUSES 500 //example valueenum houseinfo{ house_Owner[MAX_PLAYER_NAME], house_Price, house_World, Float:house_X, Float:house_Y, Float:house_Z, ...
605
You defined Pay as a Float.
Easy fix:
pawn Код:
minfo[playerid][Pay] = floatround(pay);
451
How are Startx,Starty,Starty,Endx,Endy,Endz defined?
pawn Код:
new Float:pay; pay = Distance(Startx,Starty,Starty,Endx,Endy,Endz);
And most importantly, on which line do you get the warning?
451
