Jump to content

Sebi wepos

Membru
  • Posts

    67
  • Joined

  • Last visited

Posts posted by Sebi wepos

  1. 6 hours ago, Valentin Tarnauceanu said:

    C:\\Users\\1\\Desktop\\gm stunt\\gamemodes\\RGS.pwn la atea se pune cu 2 de \? sidaca compilezi cu sublime text 3 in loc de \ pui /, si pui cate una

    n-are legatura..

    scrie exact acolo "The system cannot find the file specified"

    esti sigur ca exista C:/Users/1/Desktop/gm stunt/pawno 
    ???

  2. Atunci cand apas tasta "N" imi spune Ai bagat mancarea in... si imi scoate obiectul si animatia dar nu imi seteaza un checkpoint si nici nu-mi trimite * Du-te la punctul rosu de pe mapa pentru a primi banii. Distanta: %0.1fm...



    if(newkeys & KEY_NO) {
            if(Nelu2[playerid] == 1) {
                SCM(playerid, -1, "Ai bagat mancarea in ghiozdan!");
                Nelu2[playerid] = 0;
                RemovePlayerAttachedObject( playerid, 0 ); SetPlayerSpecialAction( playerid, 0 );
                new j = random(housess)+1;
                SetPlayerCheckpointEx(playerid, HouseInfo[j][hEntrancex],HouseInfo[j][hEntrancey],HouseInfo[j][hEntrancez], 7.0);
                format(string, sizeof(string), "* Du-te la punctul rosu de pe mapa pentru a primi banii. Distanta: %0.1fm", GetPlayerDistanceFromPoint(playerid, HouseInfo[j][hEntrancex],                  HouseInfo[j][hEntrancey], HouseInfo[j][hEntrancez]));
                SCM(playerid, COLOR_YELLOW, string);
                CP[playerid] = 157;
            }

    }
    Help??

  3. On 1/26/2021 at 5:19 PM, IosifR said:

    Am rezolvat =D

    Dar, totusi, este o problema. Cum fac ?

    Daca am spawnat o masina, sa nu o mai pot spawna inca o data

     

    1. mergi pe sub toate include urile  si pune asta new playerSpawned[MAX_PLAYERS]

    2. mergi la linia public OnPlayerConnect(playerid) {
    si pune public playerVehicle[playerid] = -1;

    3. mergi la linia public OnPlayerDisconnect(playerid, reason)

    si pune if(playerSpawned[playerid] != -1) playerSpawned[playerid] != -1;

    4.  aici unde ai pus 

    case 0: CreateVehicle(411, pPos[0], pPos[1], pPos[2] + 5.0, pPos[3], 1, 1, -1, 0);
    case 1: CreateVehicle(560, pPos[0], pPos[1], pPos[2] + 5.0, pPos[3], 1, 1, -1, 0);

      

    pui asa

     

    
    case 0: {
       CreateVehicle(411, pPos[0], pPos[1], pPos[2] + 5.0, pPos[3], 1, 1, -1, 0);
       playerSpawned[playerid] = 1;
    }
    case 1: {
       CreateVehicle(560, pPos[0], pPos[1], pPos[2] + 5.0, pPos[3], 1, 1, -1, 0);
    playerSpawned[playerid] = 1; 
    }
     
    

    5.  la comanda asta CMD:GetVeh(playerid) {

    pui CMD:GetVeh(playerid) {

      if(playerSpawned[playerid] == 1) return SendPlayerMessage(playerid, -1, "ai deja o masina spawnata!");

     

  4. Pentru a schimba locul de prezentare a masini mergi la linia " function ShowCamera(playerid) "
     si schimbi coordonatele de la SetPlayerCameraPos si SetPlayerCameraLookAt unde anume vrei tu sa fie setata camera
    image.png.61443dc11c94d3594bf9608c2c33fd23.png

    Pentru a schimba locatia unde se spawneaza masina atunci cand este cumparata mergi la linia "function InsertDsCars"

    si cauta acolo "CarInfo[idd][cLocationx]"  "CarInfo[idd][cLocationy]"  "CarInfo[idd][cLocationz]" si schimba coordonatele pe rand

  5. On 8/27/2019 at 7:56 PM, Beleciu said:

    Acum imi da erorile astea: 

    E:\gm pe localhost\gamemodes\gmm.pwn(1780) : error 017: undefined symbol "mysql_store_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(1781) : error 017: undefined symbol "mysql_num_rows"
    E:\gm pe localhost\gamemodes\gmm.pwn(1783) : error 017: undefined symbol "mysql_free_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(6449) : warning 217: loose indentation
    E:\gm pe localhost\gamemodes\gmm.pwn(6490) : warning 217: loose indentation
    E:\gm pe localhost\gamemodes\gmm.pwn(6527) : warning 217: loose indentation
    E:\gm pe localhost\gamemodes\gmm.pwn(16494) : error 017: undefined symbol "mysql_store_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(16495) : error 017: undefined symbol "mysql_fetch_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(16497) : error 017: undefined symbol "mysql_free_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(17040) : error 017: undefined symbol "mysql_store_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(17041) : error 017: undefined symbol "mysql_retrieve_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(17041) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(17042) : error 017: undefined symbol "mysql_free_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(30943) : warning 213: tag mismatch
    E:\gm pe localhost\gamemodes\gmm.pwn(31338) : warning 213: tag mismatch
    E:\gm pe localhost\gamemodes\gmm.pwn(32239) : error 017: undefined symbol "mysql_store_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(32240) : error 017: undefined symbol "mysql_retrieve_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32241) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32242) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32243) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32244) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32245) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32247) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32248) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32249) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32250) : error 017: undefined symbol "mysql_fetch_field_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32254) : error 017: undefined symbol "mysql_free_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(32261) : error 017: undefined symbol "mysql_store_result"
    E:\gm pe localhost\gamemodes\gmm.pwn(32262) : error 017: undefined symbol "mysql_retrieve_row"
    E:\gm pe localhost\gamemodes\gmm.pwn(32266) : error 017: undefined symbol "mysql_get_field"
    E:\gm pe localhost\gamemodes\gmm.pwn(32267) : error 017: undefined symbol "mysql_get_field"

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.
     

    Ce ii pot face?

    Sterge #invlude autoafk il găsesti printre primele rânduri 

     

  6. gen daca am asa:

          if(IsAFbiCar(newcar))
            {
                if(IsACop(playerid)) { }
                else { ClearAnimations(playerid); SendClientMessage(playerid,COLOR_WHITE,"You are not a Cop."); }
            }

    pun asa?

     

    if(newstate == PLAYER_STATE_DRIVER)
    {
    	if(IsAFbiCar(newcar) && !IsACop(playerid))
    	{
    		ClearAnimations(playerid);SendClientMessage(playerid,COLOR_WHITE,"You are not a Cop.");
    		return 1;
    	}
    }

     

  7. cum pot transforma comanda asta:

    if (strcmp("/deschidegate", cmdtext, true, 10) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    			if(IsPlayerInRangeOfPoint(playerid,15, 1587.8665, -1637.9141, 14.8116))
    		    {
    		            MoveDynamicObject(poarta,1587.8665, -1637.9141, 9.7766, 5.0, 0.0000, 0.0000, 0.0000);
    		            SetTimer("MoveInitialPoarta",5000,0);
    		            SendClientMessage(playerid,-1,"Ai deschis poarta 5 secunde!");
    		    }
    		    else
    		        return SendClientMessage(playerid,-1,"Nu esti langa poarta!");
    		}
    	        
    		return 1;
    	}

    in zcmd gen cmd:deschidegate

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