Jump to content
  • 0

problema la bonus , ma ajuta cineva?


Iulian2

Question

TutTime = 0; PlayerInfo[pTut] = 1;
                gOoc = 0; gNews = 0; gFam = 0;
                TogglePlayerControllable(i, 1);
                SetCameraBehindPlayer(i);
                TogglePlayerSpectating(i, 0);
                SetPlayerSpawn(i);
                PlayerInfo[pAccount] = 10000;
                PlayerInfo[pLevel] = 2;
                PlayerInfo[pPremiumPoints] = 10;
                ResetPlayerCash(i);
                GivePlayerCash(i,500000);
                PlayerInfo[pRob] = 20;
                SetPlayerInterior(i,0);
                SetPlayerVirtualWorld(i,0);
                TogglePlayerControllable(i,true);
                new str1[256];
                mysql_format(SQL,str1,256,"UPDATE users SET `Tutorial`='1',`Bank`='1000000',`PremiumPoints`='20' WHERE `name`='%s'",PlayerInfo[pNormalName]);
                mysql_tquery(SQL,str1,"","");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                SCM(i, COLOR_WHITE, " ");
                ShowPlayerDialog(i, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX, "Welcome", "Salut! Bine ai venit in comunitatea b-Game Romania!\nSperam sa te distrezi alaturi de noi,\nPentru ca esti nou, iti oferim unele beneficii pe care le poti vedea chiar acum in chat.", "Multumesc", "");
                SCM(i, COLOR_WHITE, "------------------------------------------------------------------");
                SCM(i, COLOR_WHITE, "Pentru ca esti incepator, iti oferim cateva bonusuri:");
                SCM(i, COLOR_GREEN, "(+) $500,000");
                SCM(i, COLOR_GREEN, "(+) Levelul tau este 2");
                SCM(i, COLOR_GREEN, "(+) 20 Rob Points");
                SCM(i, COLOR_GREEN, "(+) 10 Premium Points");
                SCM(i, COLOR_WHITE, "------------------------------------------------------------------");
                
            }

Cum pot sa adaug si o masina ca bonus , adica de inceput sa iti dea si o masina

Edited by Iulian2
greseala
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Daca folosesti GM BigZone, folosesti urmatoarea sintaxa.

InsertPCar(playerid,ID-UL MASINII DE PE SA-MP.COM,Stock[ID-ul masinii de la sectiunea STOCK din baza de date][vPrice],"Numele complet al masinii",1);

Iti voi da si un exemplu: InsertPCar(playerid,539,Stock[97][vPrice],"Vortex",1);

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
Answer this question...

×   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.