Jump to content

VaLuTzzU

Membru
  • Posts

    5
  • Joined

  • Last visited

Posts posted by VaLuTzzU

  1. 6 minutes ago, Rayan said:

    Legat de problema de la DS, cred ca trebuie sa modifici tu masinile din baza de date.

    comanda:

    incearca sa modifici comanda /movehouse cum vrei tu, eu iti dau un model cum am facut eu

    
    CMD:movebiz(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
        if(IsPlayerConnected(playerid))
    	{
    
    		if(PlayerInfo[playerid][pAdmin] < 6) return 0;
    
    	    new house,Float:pX,Float:pY,Float:pZ,query[256];
    	    if(sscanf(params, "d", house)) return SendClientMessage(playerid, -1, "Folosire: /movebiz [bizid]");
    	    GetPlayerPos(playerid, pX, pY, pZ);
    	    BizzInfo[house][bEntranceX] = pX;
    	    BizzInfo[house][bEntranceY] = pY;
    	    BizzInfo[house][bEntranceZ] = pZ;
    	    new i = house;
    	    mysql_format(SQL, query, sizeof(query), "UPDATE `bizz` SET `EntranceX`='%f',`EntranceY`='%f',`EntranceZ`='%f' WHERE `ID`='%d'",BizzInfo[house][bEntranceX],BizzInfo[house][bEntranceY],BizzInfo[house][bEntranceZ],house);
    		mysql_tquery(SQL,query,"","");
    		SendClientMessage(playerid, -1, "Ai mutat business-ul cu succes!");
    		OnPropTextdrawUpdate(2, i); //nu stiu sigur daca ai functia, cauta sa vezi daca nu elimina
    	}
    	return 1;
    }

     

    In legatura cu Movebiz , a mers , multumesc , si in DS..nu stiu..am incercat , dar nimic , In baza de date la DS imi lipsesc cateva masinii , dar cand incerc sa le adaug dupa sa urc iar baza de date pe mysql imi da erori

  2. 57 minutes ago, Rayan said:

    In bigzone ai comanda /movehouse mi se pare, si poti sa inlocui pe acolo vezi ca ai [HouseInfo][hEnteranceX,Z,Y] si le inlocui cu [BizInfo][bEnteranceX,Y,Z]

    Imi da urmatoarele errori

    Quote

    C:\Users\vali\Desktop\Tenerife\gamemodes\BigZoneGM.pwn(23862) : error 017: undefined symbol "BizInfo"
    C:\Users\vali\Desktop\Tenerife\gamemodes\BigZoneGM.pwn(23862) : error 017: undefined symbol "biz"
    C:\Users\vali\Desktop\Tenerife\gamemodes\BigZoneGM.pwn(23862) : error 029: invalid expression, assumed zero

     

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