Jump to content

YumeDany

Membru
  • Posts

    67
  • Joined

  • Last visited

    Never

Posts posted by YumeDany

  1. Buna. Ma puteti ajuta va rog cu ceva . Cum si ce sa folosesc ca sa fac un obiect sa scada viata unei masini sa a unui player ..

    De exemplu o flacara daca un player sta in ea sa ii scada viata , la fel si la masina .. vreo inspiratie careva idee ?

  2. Salut. Baieti am o problema.

    Cand intru cu masina in tiuning , selectez meniu dorit etc si cand dau enter ma scoate din masina , iar masina imi ramane in tiuning ...

    Vreo idee de la ce ar putea fi sau ce as putea face ?

  3. Salut! Am de data asta o problema cu timeru la cateva masini mai exact Cand te dai jos din masinia ai 15 secunde , daca in 15 secunde nu intri in masina masina iti dispare . Problema mea este ca daca ma dau jos din masina se activeaza timeru dar cand urc inapoe in masina timeru tot scade mai exact nu se opreste daca ma urc inapoe in masina

  4. Salut! Baieti am o "mare" problema am un gamemode care lam modificat foarte mult si am de gand sa il si hostez . Problema consta in Objective ! Am stereameru pentru 0.3d am 1000 CreateObject in GameMode si mai am vreao 1000 de CreateObject in FileScript . Chiestia este ca daca bag CreateDynamicObject sau CreateaStreamerObject nu mi le arata deloc .. nu le "proceseaza"

  5. Am bagat in GameMode un SnowMod , am rezolvat din ele dar mai am urmatoarele errori

    D:\-----\gamemodes\----(1225) : error 017: undefined symbol "snowObject"
    D:\------\gamemodes\-------(1235) : error 017: undefined symbol "snowObject"
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    2 Errors.
    LINIA 1225
    for(new i = 0; i < MAX_SNOW_OBJECTS; i++)
    	{
    		snowObject[playerid][i] = CreateDynamicObject(18864, pPos[0] + random(25), pPos[1] + random (25), pPos[2] - 5, random(100), random(100), random(100), -1, -1, playerid);
    	}
    LINIA 1235
    for(new i = 0; i < MAX_SNOW_OBJECTS; i++)
    	{
    		DestroyDynamicObject(snowObject[playerid][i]);
    	}
    DEFINIT snowObject
    new snowObject[MAX_PLAYERS][MAX_SNOW_OBJECTS];

  6. Uite

    format(coordsstring, sizeof(coordsstring),"-----------------------------| %s |------------------------------------------",name);
    		SendClientMessage(playerid, COLOR_RED,coordsstring);
    		format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Cash:[$%d] Bank:[$%d] Ph:[%d]", level,atext,age,cash,account,pnumber,drank);
    		SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
    		format(coordsstring, sizeof(coordsstring), "PlayingHours:[%d] Job:[%s] Respect:[%d/%d] Rob:[%s] DonateRank:[%d]", ptime,bigfish,arrests,jtext,exp,expamount);
    		SendClientMessage(playerid, COLOR_GRAD2,coordsstring);
    		format(coordsstring, sizeof(coordsstring), "Drugs:[%d] Materials:[%d] Organisation:[%s] Rank:[%s] WantedLevel:[%s]",drugs,mats,ttext,ftext,rtext);
    		SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
            format(coordsstring, sizeof(coordsstring), "House key:[%d] Business key:[%d] Veh1:[%d] Veh2:[%d] Veh3:[%d] Hirekey:[%d] int:[%d] virworld:[%d] local:[%d] ",housekey,bizkey,carkey,carkey1,carkey2,HireCar[targetid],intir,virworld,local);
            SendClientMessage(playerid, COLOR_GRAD4,coordsstring);
            }
    		SendClientMessage(playerid, COLOR_RED,"------------------------------------------------------------------------------------------");
    	}
    Nu sunt sigur dar sar putea sa iti dea erori la  carkey,carkey1,carkey2 Definitie
    new carkey = PlayerInfo[targetid][pPcarkey];
    		new carkey2 = PlayerInfo[targetid][pPcarkey2];
    		new carkey3 = PlayerInfo[targetid][pPcarkey3];

  7. Nu ma las impresionat ca "e prima mea mapa"

    Find mapa pentru o factiune , deasemenea si pe apa e destul de buna pentru inceput

    Dar : spatiu intre obiecte* , mult spatiu liber(putai pune si tu cate ceva acolo flori ..)

    4/5

  8. Salut, Am o problema cu Obiectele .. ! Deci sa va explic cum sta problema .. toate factiunile au objective destul de urate si prea "naspa" .. vreau sa scot din acele factiuni si sa bag alte objective .. Am cautat in GameMode acele objective si nu sunt .. Am sters tot ce era in FileScript dar nu au iesit ..

    Vreo idee unde ar putea fi adaugate si cum leas putea scoate ?

  9. Salut , Am si eu comanda aceasta este "/goto" am incercat sa o modific pentru event .. mai exat cand un admin face event playeri care vor sa participe sa scrie comanda aceasta ... doar ca am incercat sa scot playerid adica sa nu mai introduca idu dar nu imi merge 

    if(strcmp(cmd, "/tpevent", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
                            if(PlayerInfo[playerid][pEvent] == 0)
    			{
    				SendClientMessage(playerid, COLOR_GRAD1, "{FFFFFF}[{4FD359}----{FFFFFF}]: Pentru a folosi comanda trebuie sa organizezi un event");
    				return 1;
    			}
    			tmp = strtok(cmdtext, idx);
    			new Float:plocx,Float:plocy,Float:plocz;
    			new plo;
    			plo = ReturnUser(tmp);
    			if (IsPlayerConnected(plo))
    			{
    			    if(plo != INVALID_PLAYER_ID)
    			    {
    					if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGM] >= 1)
    					{
    					    GetPlayerPos(plo,plocx,plocy,plocz);
    						if (GetPlayerState(playerid) == 2)
    						{
    							new tmpcar = GetPlayerVehicleID(playerid);
    							SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
    							TelePos[i][0] = 0.0;TelePos[i][1] = 0.0;
    						}
    						else
    						{
    							SetPlayerPos(i,plocx,plocy+2, plocz);
    						}
    						SetPlayerInterior(playerid,GetPlayerInterior(plo));
    						SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(plo));
                        	SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai fost teleportat!");
                        	GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
    		                GetPlayerName(playerid, numewarning, sizeof(numewarning));
    		                format(string, sizeof(string), "[AdmWarning]: %s s-a teleportat la %s.",numewarning,giveplayer);
    		                ABroadCast(COLOR_LIGHTRED,string, 5);
    					}
    					else
    					{
    						SendClientMessage(playerid, COLOR_GRAD1, "   Nu ai acces la aceasta comanda!");
    					}
    				}
    			}
    			else
    			{
    				format(string, sizeof(string), "   %d Nu este un player activ.", plo);
    				SendClientMessage(playerid, COLOR_GRAD1, string);
    			}
    		}
    		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.