Search Results
Great tutorial, would be great if you could explain what a query does/send in depth aswell, plus how do you know the parameters for the queries? For example Code: db_query( Database, "CREATE TABLE...
3,768
Quote: Originally Posted by AndySedeyn Of course it will not work. It is always going to check the first index and if the first index is occupied, it will display the error. Hence why it o...
154
Here's the problem, I am trying to loop through a 50 slot 3D Dimensional array, check which slot has no text [empty string] & save a string in it, them loop once again and save a 2nd string, etc. ...
154
Still need help, seriously tho I need to find the issue. Код: for(new j = 0; j < 13; j++) { if(strcmp(key, "FactionSkins") == 0) FacInfo[i][FactionSkins][j] = strval(line[s]); ...
107
Quote: Originally Posted by Gammix pawn Код: StripNL(line); What does this function do for loading purpose ? Its the same as PHP rtrim, it returns a string with whitespace stripped ...
107
Hello, so I am creating a faction system where the faction rank-names are dynamic, you set their strings in-game and they save in the faction's file. The saving works fine and the string gets written ...
107
Quote: Originally Posted by illuminati2 try replacing 1. PHP код: enum FacInfo  2. PHP код: new FactionInfo[MAX_FACTIONS][FacInfo];  3. PHP код:    Â...
88
Quote: Originally Posted by SickAttack pawn Код: if(!strcmp(HouseInfo[i][HOwner], PlayerName(playerid), false)) Oh wow that's alot easier than I thought, thanks bud.
76
Hello! So I've been working on my house system and I am at my final touches. Basically my system works through names, it saves the names to the house and that's how it recognizes if its the owner or ...
76
Hello! I've been trying to create a dynamic system lately but I struggle with saving/loading so I was reading through other people's code to see how it works, I came at a stop when I reached this par...
116
Quote: Originally Posted by PrO.GameR Here's a suggestion first, A) if someone does a command, he is connected ! B) if you want to check if something is true and send an error message use ...
88
Hello! I've started learning sscanf recently after a long time of painful strtok usage and I've realized that sscanf is SO much easier, I've been missing out. Anyway, I am trying to make a simple /g...
88
Quote: Originally Posted by RoboN1X use capital "I" specifier for second parameter, this makes the parameter optional to enter, then first you check if player is online, then check if leve...
87
Hi! I've always been using strcmp & strtok until recently I realized how dumb I was as sscanf & ZCMD are SO MUCH easier. The problem I have with sscanf tho, is how to check if the first param...
87
Quote: Originally Posted by Nate4 The loop seems to be checking through the 'created vehicles' array until it finds a value in there matching the player's vehicle ID. (Checked by this line...
96
Do you recreate/reattach the object after the server restarts? Because I could only find you saving & loading the object but not creating it again.
76