Search Results
For anyone looking for Python 3 support, check out my library: https://github.com/mick88/samp-client
1,101
The library is now updated to 2.0 - added support for Python 3
513
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...
513
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?
1,101
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...
170
Some servers need to server as noob-magnets, you you get mature players on your own server
257
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...
3,913
You have to put all "RemoveBuildingForPlayer" in OnPlayerConnect callback, and "CreateDynamicObject" in OnGamemodeInit.
95
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 << ...
378
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...
378
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...
17,740
Yeah, right, create another gf edit and dont get creative.
1,561
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.
197
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.
165
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 ...
610
Use these: https://sampwiki.blast.hk/wiki/OnPlayerConnect https://sampwiki.blast.hk/wiki/GameTextForPlayer
175
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...
50
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, ...
176
You defined Pay as a Float. Easy fix: pawn Код: minfo[playerid][Pay] = floatround(pay);
108
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?
108