Jump to content

Intrebare/Problema


xAlin

Recommended Posts

Salutare! Am o problema. Am facut la gift sa se castige o masina si cand se castiga o masina sa spuna ca au fost castigate 40 de masini de la gift dar problema este ca nu stiu cum sa fac sa arate cate masini mai sunt la partea de phpmyadmin ma descurc , partea de scripting nu reusesc . :(

Link to comment
Share on other sites

La 09.08.2015la19:07, TheTuNNeFPS a spus:
1 oră în urmă, Kaps a spus:

Aratane comanda ca sa te putem ajuta .

Eu vreau sa fac sa imi spuna cate masini mai sunt la gift si nu stiu cum sa fac la partea de phpmyadmin ma descurc .
                      {
                            if(gift == 10)
                            {
                                playerVariables[playerid][pCarModel1] += 571;
                                format(szMessage, sizeof(szMessage), "(( Giftbox: %s a castigat un Kart din giftbox!Felicitari! ))",GetName(playerid));
                                ShowPlayerDialog(playerid, 0404, DIALOG_STYLE_MSGBOX, "Giftbox", "Ai castigat o masina Kart la giftbox!", "Close", "");
                                SCMTA(COLOR_LIGHT,szMessage);
                            }
                        }
                        new x;
                           mysql_format(handle, szLargeString, sizeof(szLargeString), "INSERT INTO `giftcars` (`GiftCarId`, `GiftVehicleModel`) VALUES ('%d', '%d')",giftcarVariables[x][gGiftCarId], 571);
                        mysql_tquery(handle, szLargeString);

 

Edited by xAlin
Pozitionare mai buna
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.