Jump to content
  • 0

problema la bonus , ma ajuta cineva?


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

  • 0
Posted

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);

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.