Search Results
I think it's because the map editor doesn't use a streamer when you use the in-game test functionality. So when you have more than 1000 objects it will crash. However if you implement a streamer in yo...
195
Quote: Originally Posted by JaydenJason Код: // Create the object at the center of San Andreas [just used for example] new eg_obj = CreateObject(1234, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0); /...
105
Hello everyone, I've tried adding weapon pickups to an island pretty far from the main map. At a certain point the pickups stop working, so I figured to use objects instead and rotate them using Move...
105
I think strings need to be in qoates in a mysql query, can you give this a try? : pawn Код: format(string, 256, "INSERT INTO `comptes` ('p_nom','p_mdp','p_email',p_origine,'p_inscription_id',p_sex...
85
Have you tried my solution? pawn Код: stock AddCommaAfterMonth(DateString[]) {    new Day, Month[3], Year;    if(sscanf(DateString, "dsd", Day, Month, Year)) {         print("Comma could n...
171
Yes I know, you just split the string up into a day, month and year using sscanf, after that, you can rebuild the string using "format" and add anything you want, like the comma after "Apr"
171
I think you can use sscanf for this (untested): pawn Код: new DateString[] = "25 Apr 2014";new Day, Month[3], Year;if(sscanf(DateString, "dsd", Day, Month, Year)) {     print("String is not in t...
171
You are not saving the right positions of the exits (uscita) in your "createhouse" CMD. Make sure you don't just put them in hard coded like you do it now: "443.9237", "509.4609", "1001.4195. pawn К...
145
From the wiki: Important Note:The textdraw MUST use the font type TEXT_DRAW_FONT_MODEL_PREVIEW in order for this function to have effect.
99
There you go: pawn Код: dcmd_aveh(playerid, params[]){        new Float:X, Float:Y, Float:Z, Float:Angle;        new vehicle = GetVehicleModelIDFromName(params);        if(pInfo[player...
120
Remove the "return 1;" in your for loop
120
You have to create a variable to store the texts in (in the beginning of your gamemode): pawn Код: new PlayerTexts[MAX_PLAYERS][512]; // 512 is pretty big, I based it on the size of your dmajust v...
105
Your indentation is wrong and you forgot to close one if statement: pawn Код: CMD:annc(playerid, params[]){    if (PInfo[playerid][LoggedIn] == true)    {        if (PInfo[playerid][Player...
72
Quote: Originally Posted by Konstantinos This callback is called when a player starts to enter the vehicle but he's not in yet so GetPlayerVehicleID returns 0. pawn Код: public OnPlay...
95
Change pawn Код: if (mypoint == 1) To pawn Код: if (mypoint != 1) Please post your code in ["code"]...["/code"] or ["pawn"]...["/pawn"] tags (without quotes) and use proper indentation, it ma...
84
Try this, you have to check for the modelid of the vehicle: Код: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new vehicle; vehicle = GetPlayerVehicleID(playerid); ...
95
One way to find out is to print the values, which you can see in the console and logs: Код: new debug[50]; new bandana1[] = {18891, 18892, 18895, 18896, 18897, 18898, 18899}; for(a; a < sizeo...
79
As Bingo already said, the second button is just to cancel. You can however detect when the button is pressed, if there is no response, like this: pawn Код: public OnDialogResponse(playerid, dial...
121
Try this: pawn Код: if(response) {     switch(dialogid)     {         case DIALOG_Tutorial:         {             SendClientMessage(playerid, 0xFFFFFF, "The tutorial will continu...
192
Nice map, I like it
717