Jump to content

Question

Posted

Problema intalnita (descriere):Incerc sa setez o suma mai mare de bani sa o primesti cand te loghezi pe server insa chiar daca schimb cand intru pe server tot la fel este...
Ero(area / rile) / warning-(ul / urile):-
Liniile de cod / sursa / script-ul(obligatoriu):Nu stiu exact ce cod sa arat.
Imagini / Video (optional):Nu e necesar.
Ati incercat sa rezolvati singur?:Da...

8 answers to this question

Recommended Posts

  • 0
  • 0
Posted

Cauta la OnPlayerRegister cred ca ar trebui sa fie , PlayerInfo[playerid][pMoney] = banii pe care ii ai in cont cand te inregistrezi si modifici . Inlocuiesti [PlayerInfo][pMoney] in functie de cum ai tu in gamemode .

  • 0
Posted

@NoNamed nu am OnPlayerRegister.@Alexredd nu se salveaza.Pot pune orice suma vreau eu ca acesta nu se schimba in joc,

stock resetPlayerVariables(const playerid)
{
	playerVariables[playerid][pStatus] = 0; // 0 - Unauthentic | 1 - Authentic
	playerVariables[playerid][pSeconds] = 0;
	playerVariables[playerid][pSkinCount] = 0;
	playerVariables[playerid][pSkin] = 60;
	SetPlayerSkin(playerid, 60);
	gGas[playerid] = 0;
	playerVariables[playerid][pMoney] = 999999;
//Aici am modificat..Si degeab tot 10.000 imi da.
	playerVariables[playerid][pTazer] = 0;
	playerVariables[playerid][pOnRequest] = INVALID_PLAYER_ID;
	playerVariables[playerid][pBankMoney] = 30000;
	playerVariables[playerid][pHealth] = 100;
	playerVariables[playerid][pArmour] = 0;
	playerVariables[playerid][pPMStatus] = 0;
	playerVariables[playerid][pAnticheatExemption] = 0;
	playerVariables[playerid][pPos][0] = 0;
	playerVariables[playerid][pEvent] = 0;
	playerVariables[playerid][pJetpack] = 0;
	playerVariables[playerid][pWalkieTalkie] = -1;
	playerVariables[playerid][pLevel] = 1;
	playerVariables[playerid][pTabbed] = 0;
	playerVariables[playerid][pHackWarnTime] = 0;
	playerVariables[playerid][pCarPaintjob] = -1;
	playerVariables[playerid][pBackup] = -1;
	playerVariables[playerid][pDriveLicense] = 0;
	playerVariables[playerid][pFlyLicense] = 0;
	playerVariables[playerid][pGunLicense] = 0;
	playerVariables[playerid][pCarID1] = -1;
	playerVariables[playerid][pCarID2] = -1;
	playerVariables[playerid][pFightStyle] = 4;
	playerVariables[playerid][pWarns] = 0;
	playerVariables[playerid][pCarColour1][0] = -1;
	playerVariables[playerid][pCarColour1][1] = -1;
	playerVariables[playerid][pCarColour2][0] = -1;
	playerVariables[playerid][pCarColour2][1] = -1;
	playerVariables[playerid][pMatrunTime] = 0;
	playerVariables[playerid][pPhoneBook] = 0;
	playerVariables[playerid][pHelperDuty] = 0;
	playerVariables[playerid][pDropCarTimeout] = 0;
	playerVariables[playerid][pPos][1] = 0;
	playerVariables[playerid][pHelper] = 0;
	playerVariables[playerid][pPhoneNumber] = -1;
	playerVariables[playerid][pPos][2] = 0;
	playerVariables[playerid][pSkinSet] = 0;
	playerVariables[playerid][pTutorial] = 0;
	playerVariables[playerid][pCarModel1] = 0;
	playerVariables[playerid][pCarModel2] = 0;
	playerVariables[playerid][pGender] = 1;
	playerVariables[playerid][pPhoneStatus] = 1;
	playerVariables[playerid][pHackWarnings] = 0;
	playerVariables[playerid][pSeeOOC] = 1;
	playerVariables[playerid][pGroup] = 0;
	playerVariables[playerid][pGroupRank] = 0;
	playerVariables[playerid][pPrisonTime] = 0;
	playerVariables[playerid][pFWarns] = 0;
	playerVariables[playerid][pFPunish] = 0;
	playerVariables[playerid][pPrisonID] = 0;
	playerVariables[playerid][pHospitalized] = 0;
	playerVariables[playerid][pSpamCount] = 0;
	playerVariables[playerid][pNewbieEnabled] = 1;
	playerVariables[playerid][pMuted] = 0;
	playerVariables[playerid][pAdminLevel] = 0;
	playerVariables[playerid][pPhoneCall] = -1;
	playerVariables[playerid][pInternalID] = -1;
	playerVariables[playerid][pVirtualWorld] = 0;
	playerVariables[playerid][pSpectating] = INVALID_PLAYER_ID;
	playerVariables[playerid][pJob] = 0;
	playerVariables[playerid][pFirstLogin] = 0;
	playerVariables[playerid][pRobPoints] = 0;
	playerVariables[playerid][pReport] = 0;
	playerVariables[playerid][pInterior] = 0;
	playerVariables[playerid][pRespect] = 0;
	playerVariables[playerid][pCheckpoint] = 0;
	playerVariables[playerid][pMaterials] = 0;
	playerVariables[playerid][pHeadValue] = -1;
	playerVariables[playerid][pDonate] = 0;
	playerVariables[playerid][pPhoneCall] = -1;
	playerVariables[playerid][pFreezeTime] = 0;
	playerVariables[playerid][pFreezeType] = 0;
	playerVariables[playerid][pOOCMuted] = 0;
	playerVariables[playerid][pNewbieTimeout] = 0;
	playerVariables[playerid][pDrag] = -1;
	playerVariables[playerid][pRPoints] = 0;
	playerVariables[playerid][pCarKM] = 0;
	playerVariables[playerid][pDrugs] = 0;
	playerVariables[playerid][pPhoneCredit] = 0;

 

  • 0
Posted

Mai cauta tot aceeasi variabila,  cauta 

playerVariables[playerid][pMoney] = 10000;

si modifici la linia gasita, daca tine de register .

Guest
This topic is now closed to further replies.
×
×
  • 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.