Jump to content

Orion

Membru
  • Posts

    11
  • Joined

  • Last visited

    Never

Posts posted by Orion

  1. Sa zic asa pentru voi o veste buna,m-am reapucat de scripting pe 13 martie(my day) dau release la gamemodul meu R.P.G facut de la 0 in mysql Ce ati vazut voi pe R.P.G asta a fost o nimica toata.

    Cateva informatii din noul gm:

    -Fiecare factiune,biz, are gunoi, gunoierul trebuie in fiecare dimineata la ora 8:00 si seara la 19:00 sa stranga gunoiul

    -Fiecare dealer de droguri ca sa poata fi dealeri trebuie sa isi cumpere teren unde va fi nevoit sa planteze cannabis,sa il lase la uscat dupa sa il vanda

    -Exista judecatorie,coruptie in tot ce tine de factiunile primare.

    O sa vedeti mai multe pe 13 martie 2013

    Pana la urma il mai publici?

  2. salut,am si eu o problema.vreau sa fac sa apara 3d text deasupra masini cand o inmatriculez...stiu se face cu create3dtextlabel si attach dar nu stiu unde se pun la comanda mea actuala,daca m-ati putea ajuta v-as fi recunoscator.

    	if(strcmp(cmd, "/inscriemasina", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    	        if(PlayerInfo[playerid][pPcarkey] != 999)
    	        {
    	            if(!PlayerToPoint(25.0, playerid, 1064.5847,-890.3940,43.1979))
    				{
    				    SendClientMessage(playerid, COLOR_GREY, "Server: Nu esti la agentia de inmatriuclari.");
    				    return 1;
    				}
    				if(PlayerInfo[playerid][pCash] < 10000)
    				{
    				    SendClientMessage(playerid, COLOR_GREY, "Server: Nu ai destui bani. (10.000$)");
    				    return 1;
    				}
                    GetPlayerName(playerid, sendername, sizeof(sendername));
    				new length = strlen(cmdtext);
    				while ((idx < length) && (cmdtext[idx] <= ' '))
    				{
    					idx++;
    				}
    				new offset = idx;
    				new result[255];
    				while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    				{
    					result[idx - offset] = cmdtext[idx];
    					idx++;
    				}
    				result[idx - offset] = EOS;
    				for(new s = 0; s < num_words; s++)
    				{
    					new pos;
    					while((pos = strfind(result,Swears[s],true)) != -1) for(new i = pos, j = pos + strlen(Swears[s]); i < j; i++)
    					{
    						result[i] = '*';
    					}
    				}
    				if(!strlen(result))
    				{
    					SendUsage(playerid, "  /inscriemasina [numar]");
    					return 1;
    				}
    				if(strfind(result, "|", true) != -1)
    				{
    					    SendClientMessage(playerid, COLOR_WHITE, "Server: {FF0000}ErroR.");
    					    return 1;
    				}
    				else
    				{
    					moneys = PlayerInfo[playerid][pPcarkey];
    	   				strmid(CarInfo[moneys][cNum], result, 0, strlen(result), 999);
    				    format(string, sizeof(string), "%s a inscris %s -ul (id: %d). Noul numar este %s",PlayerInfo[playerid][pNume],CarInfo[moneys][cDescription],moneys+PreVehicle,CarInfo[moneys][cNum]);
    					ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    	                format(string, sizeof(string), "%s",CarInfo[moneys][cNum]);
    					SetVehicleNumberPlate(moneys+PreVehicle, string);
    					GivePlayerCash(playerid, -10000);
    					format(string, sizeof(string), "UPDATE cars SET Num='%s' WHERE id=%d", CarInfo[moneys][cNum], moneys+PreVehicle);
    					mysql_query(string);
    	   				return 1;
    				}
    			}
    			else
    			{
    			    SendClientMessage(playerid, COLOR_GREY, "Server: Nu ai vreo masina personala.");
    				return 1;
    			}
    		}
    		return 1;
    	}

  3. Nu are cum sa iti dea asa. Ai pluginul sscanf?

    da il am, uite http://postimage.org/image/he9hepen3/

      http://postimage.org/image/iigbjriu9/

    EDIT: am incercat si pe un server care nu e mysql si acolo merge,are vreo legatura?

  4. Salut,am si eu o problema la compile..

    [pawn](4579) : error 029: invalid expression, assumed zero[/pawn]

    Asta e :

    [pawn]forward EsteScripter(playerid);

    public EsteScripter(playerid)

    {

    if(IsPlayerConnected(playerid))

    {

    new nume[512];

            GetPlayerName(playerid, nume, sizeof(nume));

      if((strcmp(nume, "Theoo", true) == 0)

    line 4579   {

          return 1;

      }

    }

    return 0;

    }[/pawn]

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