Search Results
Quote: Originally Posted by MrDeath I can't understand how to unhash a function without bruteforce, supposing I've got this 'hash': pawn Код: stock    hash(const string[])    {  ...
4,343
Код: #define abs(%0) ((%0 < 0) ? (-(%0)) : (%0)) new variable = abs(-5); gives Код: warning 206: redundant test: constant expression is non-zero why? This warning shows with every number....
114
Quote: Originally Posted by [ISS]jumbo ehm why HTTP_GET and not HTTP_POST? Because he sends the data through the target adress, not in the special HTTP function argument. Learn PHP and ...
2,839
Audio_OnTransferFile returns error code no.4 Код: public OnFilterScriptInit() { // ..... Audio_SetPack("mudzin", true); // ..... } Код: public Audio_OnClientConnect(playerid) { Audio_Tran...
62,276
SQLite has built-in AUTO_INCREMENT. Example creating table: Код: CREATE TABLE IF NOT EXISTS `Accounts` (`UID` INTEGER PRIMARY KEY, `Nick` TEXT, `Password` TEXT);
117,056
I tried it, but debug string doesn't print :C
245
What happends with this function after these 24 days? Clock resets? Stops?
140
I'm trying to do special loop, which iterates every array element. I've got this: pawn Код: new const Skins[] =    {        105, //0        106, //1        107, //2        102, ...
245
Then more commands, then it's slower.
1,511
No. __________MAX X, Y |................| |....the area.| |................| MIN________| X,Y
192
Topic title should be Quote: C-SMF - Connect from SA-MP to Simple Machines Forums!
3,470
I think SA:MP has bug with slots. I've got some server tracker (shows short serwer stats as image), and in slots position it shows 244 instead of 500 (real value). This bug is also with other trackers...
256
I've got this function, pawn Код: implode(glue, ...) //ported from PHP{    new RetString[256],        GetString[64],        GlueString[2],        index;    GlueString[0] = glue;Â...
100
1. SendClientMessageToAll doesn't send formatted message. 2. sscanf sets -1 if player not found, no need of IsPlayerConnected
284
pawn Код: str_countcharacters(str[], char){    new c;    for(new i, l = strlen(str); i < l; i++)        if(str[i] == char)            c++;    return c;} Not tested, but should ...
177
I've got this function: Код: stock decbin(number) { new binary_string[35]; format(binary_string, 35, "%b", number); return binary_string; } but it crashes when I do: Код: print(decbin(-5372...
125
It's because you're comparing one letter, not two. It would be better to use strval.
584
Quote: Originally Posted by Sma_X Yes, CreateDynamic3DTextLabel handles the attaching. You should store the returned textlabel id only if you plan to do something with it later like КÐ...
168,660