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,...
68,163
@Niko_boy I don't think you understand what sockets are
http://en.wikipedia.org/wiki/Network_socket
822
about this "negativepositive" funcition, why don't you just multiply it by -1?
like
#define negativepositive(%0) ((%0)*(-1))
68,163
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...
1,453
Remove player from the team on every death and then re-set his team back when player spawns by looking up the skin ID.
65
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.
92,787
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 ...
200
That was just example, feel free to suggest something. My point is there needs to be some changes done.
178
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...
178
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)#de...
103
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',...
166
I asked about generating password, not hashing.
166
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', ...
166
Can someone explain me what this cache system does? I use it, works well, but what are pros/cons?
92,787
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...
81
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?
92,787