Jump to content

tantan_andrey

Membru
  • Posts

    131
  • Joined

  • Last visited

    Never

Posts posted by tantan_andrey

  1. Uite asta e comanda:

    //----------------------------------------------------------[vehicle help]----------------------------------------------
    	if(strcmp(cmd, "/vehiclehelp", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    	        if(PlayerInfo[playerid][pPcarkey1]!=999 && PlayerInfo[playerid][pPcarkey2]!=999 && PlayerInfo[playerid][pPcarkey3]!=999)
    	        {
    				SendClientMessage(playerid, COLOR_GREEN,"________________Vehicle Help________________");
    				SendClientMessage(playerid, COLOR_GRAD2,"*** VEHICLE *** /v [name]");
    				SendClientMessage(playerid, COLOR_GRAD3,"*** VEHICLE *** Available names: park, lock, sell, sellto, color.");
    				SendClientMessage(playerid, COLOR_GRAD4,"*** OTHER *** /cellphonehelp /help /notehelp /renthelp /businesshelp /leaderhelp /fishhelp /cookhelp /irchelp");
    				return 1;
    			}
    			else
    			{
    			    SendClientMessage(playerid,COLOR_GRAD2,"** You do not currently own a car! **");
    			    return 1;
    			}
    		}
    		return 1;
    	}

  2. Salut all. Cine ma ajuta si pe mine cu un script de radio, as vrea sa fie in casele, in cluburile, si in masnile de la mn de pe server, sa fie radio-uri in ele. De ex cand intru intr-o casa sa porenasca radio-ul. As prefera radio manele, radio kiss.. si altele.:( [move]va rog frumos[/move]

  3. Salut. Va rog frumos sa ma ajutati si pe mine la o problema. Deci cand ma sui intr-o masina-motoreta-.. asa ma sui, conduc cat conduc, si ajung de ex la destinatia dorita, imi dispare motorul sau masina sau ce osi avea.. De ce imi dispare:(( va rog frumos sa ma ajutati:((. Imi dispare pur si simplu.

  4. Salut. Am si eu o problema cu comanda /rentboat. Am niste barci pe server, si cand ma sui in ele, imi zice ca sa scriu /rent boat pentru a inchiria barca.. Asa scriu comanda:( si nu imi zice nici ca am inchiriato nici nimic:(. Comanda este:

    	if(strcmp(cmd, "/rentboat", true) == 0)
    	{
            if(IsPlayerConnected(playerid))
    		{
    			if(GetPlayerVehicleID(playerid) >= 247 && GetPlayerVehicleID(playerid) <= 252 || GetPlayerVehicleID(playerid) >= 244)
    			{
    				new hirefee = HireCost(GetPlayerVehicleID(playerid));
    				if(GetPlayerVehicleID(playerid) >= 247 && GetPlayerVehicleID(playerid) <= 252 || GetPlayerVehicleID(playerid) >= 244)
    				{
    					if(SBizzInfo[12][sbProducts] == 0)
    					{
    						GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
    						return 1;
    					}
    					if(PlayerInfo[playerid][pPbiskey] == 12)
    					{
    						GameTextForPlayer(playerid, "~w~No charge for the boss", 5000, 3);
    						TogglePlayerControllable(playerid, 1);
    						return 1;
    					}
    					if (GetPlayerMoney(playerid) <  SBizzInfo[12][sbEntranceCost])
    					{
    						SendClientMessage(playerid, COLOR_GRAD2, "You dont have that much cash !");
    						return 1;
    					}
    					GivePlayerMoney(playerid,-SBizzInfo[12][sbEntranceCost]);
    					SBizzInfo[12][sbTill] += SBizzInfo[12][sbEntranceCost];
    					ExtortionSBiz(12, SBizzInfo[12][sbEntranceCost]);
    					SBizzInfo[12][sbProducts]--;
    				}
    				if(HireCar[playerid] != 299)
    				{
    					gCarLock[HireCar[playerid]] = 0;
    					UnLockCar(HireCar[playerid]);
    				}
    				HireCar[playerid] = GetPlayerVehicleID(playerid);
    				OnPropUpdate();
    				PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    				format(string, sizeof(string), "~w~We hope you enjoy ~n~the use of this boat~n~To lock or unlock your boat~n~type ~g~/lock~n~~w~please drive safely",hirefee);
    				TogglePlayerControllable(playerid, 1);
    				GameTextForPlayer(playerid, string, 5000, 3);
    			}
    		}
    		return 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.