Search Results
Function to check is some IP address within an IP range. You need to have strexplode. Код: stock ip2int(ip_address[16]) { new sIP[4][4], IP[4]; strexplode(sIP, ip_address, !".", _, false, _, 4, 4)...
4,751
@Niko_boy I don't think you understand what sockets are http://en.wikipedia.org/wiki/Network_socket
83
about this "negativepositive" funcition, why don't you just multiply it by -1? like #define negativepositive(%0) ((%0)*(-1))
4,751
Dude, learn what is forum and don't tell me what to do, I'm here a lot longer than you. I would like to have this map on my server, so I asked if someone can re-upload it, because the code on pastebin...
38
Remove player from the team on every death and then re-set his team back when player spawns by looking up the skin ID.
9
How to check is server connected to the database? Even if I enter wrong user/pass, mysql_ping() will work because it's connected to the MySQL server.
3,072
Quote: Originally Posted by Jay_ It depends on the data you're loading / saving, how much of it there is, and the type of data. If, for example, it was a user account system for a popular ...
9
That was just example, feel free to suggest something. My point is there needs to be some changes done.
10
I took a look on how many servers there are in "Hosted" tab listing, and there is 196 servers. Are you serious? The problem is that plenty of servers have 0 players all the time. I think you should ad...
10
This should do it. Naskripto sam ti ovo, al svejedno si budala <3 pawn Код: #define TEAM_SWAT           (0)#define TEAM_TERROR         (1)#define TEAM_SWAT_COLOR     (0xFF4600FF)#define TEAM_TERR...
9
Thanks. This works now. pawn Code: stock GeneratePassword(){    new password[9];        new charset[2][26] =    {        {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', '...
9
I asked about generating password, not hashing.
9
Hello, another problem. This doesn't work. pawn Code: stock GeneratePassword(){    new password[9];        new charset[2][26] =    {        {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l...
9
Can someone explain me what this cache system does? I use it, works well, but what are pros/cons?
3,072
Hello! I made a ban command with duration parameter. Now, I need to check is player still banned, but I don't know how to. In "bans" table in database I made a "Banned On" DATETIME field, and "Duratio...
8
Is there something wrong with mysql_format? I thought it is a replacement for mysql_escape_string, but it doesn't escape the string at all. What's the purpose of that function?
3,072