Jump to content
  • 0

Nu ma poate ajuta nimeni??


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

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Poftim:

pInfo[playerid][aVar][34] = Ce id are masina;
            for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip masian, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");

Sper sa iti fie de ajutor !

 

EDIT: nu stiu ce gm ai. Daca ai ceva erori le lasi aici sau imi dai pm pe discord: LucaAdv#9084

Edited by LucaAdv.
s

GameMode Edited: gamemode

Servicii Scripting:

Contact:
Email: [email protected]
Discord: LucaAdv //  LHS#9084

 

Link to comment
Share on other sites

  • 0
Acum 49 minute, LucaAdv. a spus:

Poftim:

pInfo[playerid][aVar][34] = Ce id are masina;
            for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip masian, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");

Sper sa iti fie de ajutor !

 

EDIT: nu stiu ce gm ai. Daca ai ceva erori le lasi aici sau imi dai pm pe discord: LucaAdv#9084

C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15321) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15321) : error 017: undefined symbol "playerid"
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15321) : error 029: invalid expression, assumed zero
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15321) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

Link to comment
Share on other sites

  • 0
Acum 46 minute, Erik. a spus:

pune PlayerInfo in loc de pInfo

 

Dar stiam ca gm bigzone are o functie gen InsertCar

Cauta in gm InsertCar si pune aici functia

 

C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15331) : error 017: undefined symbol "playerid"
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15331) : error 029: invalid expression, assumed zero
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15331) : warning 215: expression has no effect
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15331) : error 001: expected token: ";", but found "]"
C:\Users\Ionut\Desktop\GM\gamemodes\gm.pwn(15331) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
tot nu merge..

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.