Jump to content

VLM

Membru
  • Posts

    302
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by VLM

  1. Mai simplu decat sa pui giftboxactiv pe 1, si poti sa il stergi.

    Pui comanda pe x , y , z , adica sa fii intr-o anumita locatie pentru a putea folosii comanda.

    Exemplu:

    CMD:getgift(playerid, params[])
    {
    	if(IsPlayerConnected(playerid))
    	{
    		if(IsPlayerInRangeOfPoint(playerid, 15.0, 1270.4071, -1348.4037, 13.1547))
     	    {
        		if(PlayerInfo[playerid][pConnectTime] <= 2) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need 3 hours to use /getgift.");
         		if(PlayerInfo[playerid][pGiftTime] > 0)
          		{
           			new string[128];
             		format(string,sizeof(string),"Mai poti folosi aceasta comanda peste %d ore.",PlayerInfo[playerid][pGiftTime]);
           			SendClientMessage(playerid, COLOR_YELLOW, string);
             		return 1;
    			}
    			if(IsPlayerInRangeOfPoint(playerid, 15.0, 1270.4071, -1348.4037, 13.1547))
    			{

    Dupa care te duci la Create3DTextLabel si adaugi:

    	Create3DTextLabel("{FFFF00}Nume{FFFFFF} GiftBox\n {FFFF00}/getgift {FFFFFF}to get a gift.",0xFFFFFFFF,1270.4071, -1348.4037, 13.1547,25.0,0);

    Dupa te duci la "//LINII MASINI" si deasupra adaugi:

    	//getgift
    	CreateObject(19056, 1270.4071, -1348.4037, 13.1547,   0.00000, 0.00000, 0.00000);

    Acum inlocui coordonatele 1270.4071, -1348.4037, 13.1547 cu ce coordonate vrei tu.

  2. 6 minutes ago, rAcs said:

    Multumesc, dar si asa am multe erori. Sunt incepator si nu prea ma pricep.

    O las balta cu aceasta chestie de preluare a ip-ului.

    Poti folosii /getip sau ce comanda ai tu, daca vrei sa ii iei ip-ul, nu prea stiu ce te-ar ajuta daca ai acest lucru.

  3. 	new sendername[30],
    		playersip[64],
    		iplog[256],
    		qqerry[500];
    	GetPlayerName(playerid,sendername,sizeof(sendername));
    	GetPlayerIp(playerid,playersip,sizeof(playersip));
    	LogIP(playersip,PlayerInfo[playerid][pSQLID]);
    	format(iplog,sizeof(iplog),"%s (%d) has been connected to the server (IP: %s).",sendername,playerid,playersip);
    	SendIP(COLOR_WHITE,iplog);

     

  4. Vand servere SA:MP & CS 1.6 la 2E, hostate pe un vps.

     

    Detalii VPS:

    Denumire procesor: Intel® Core™ i3-3240 CPU

    Frecventa procesor: 3.4GHz

    Conectivitate: 1GBpS

    Datacenter: Bucuresti, Romania

     

    Ofer IP la un server pentru teste.

    Server-ul nu pica, nu are lag, pentru mai multe informatii imi puteti lasa PM sau sa ma contactati la adresa de skype: veleamario

    Odata platita suma, o sa primiti un cont gamecp, datele phpmyadmin si server-ul de samp pe cont-ul de gamecp.

    Daca exista lag / probleme la un server, o sa ii dau un upgrade la vps.

    Contact:

    Skype: veleamario

     

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