Jump to content
  • 0

Question

Posted (edited)

Bună seara ,

După cum spune și titlul , am o problemă la comanda /jobs , o să mă strădui să fiu cât mai explicit și la subiect :

- Când dau /jobs și selectez job-ul nu-mi apare checkpoint , m-am uitat prin GM și am observat că nu este pusă și opținea de checkpoint , rugămintea mea ar fi ca dvs. să mă ajutați , sunt la început :D , am gânduri măricele , am urmat multe tutoriale dar nimic care să  mă fi  lămurit , vreau ca după ce apas pe un job să-mi facă un checkpoint , pentru fiecare-n parte ... coordonatele le pot pune eu , voi să vă ocupați de restu ....

 

Multumesc ...

 

 
CMD:jobs(playerid, params[])

	{

	    new pDialog[512];

	    strcat(pDialog, "{FFFFFF}1. Camionagiu {FFFFFF}[ {15FF00}$$$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}2. Gunoier {FFFFFF}[ {15FF00}$$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}3. Livrator de {FF0000}Pizza {FFFFFF}[ {15FF00}$$$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}4. Vanzator de inghetata {FFFFFF}[ {15FF00}$$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}5. Livrator {FFFFFF}[ {15FF00}$$$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}6. Fermier {FFFFFF}[ {15FF00}$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}7. Taietor de iarba {FFFFFF}[ {15FF00}$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}8. Vanzator de Hotdog {FFFFFF}[ {15FF00}$$ {FFFFFF}]\n", sizeof(pDialog));

	    strcat(pDialog, "{FFFFFF}9. Detectiv {FFFFFF}[ {15FF00}$ {FFFFFF}]\n", sizeof(pDialog));

	    ShowPlayerDialog(playerid, 12345678, DIALOG_STYLE_LIST, "{FFCC33}Job-uri:", pDialog, "Bine", "");

	    return 1;

	} 

 
Edited by kentmore1

12 answers to this question

Recommended Posts

  • 0
  • 0
Posted (edited)

Dacă te referi la o poză cu acest dialog uite : http://imgur.com/9wsSc7N  , dar dacă te referi la alt script te rog să-mi spui exact unde-l găses , sunt la început și orice ajutor ar fi un plus pt mine  ! 

 

Mulțumesc ...

Edited by kentmore1
  • 0
  • 0
  • 0
Posted (edited)

 

 {

	    KillTimer(ReactionTimer);

	    new string[180];

	    if(PassiveMode == PASSIVE_OFF)

	    {

	        new Rstr[] = "aAbBcCdDeEfFgGhHIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0if123456789-*[]'.;.p&^$#@";//Characters that will appear in the reaction test. Small "i" removed as it looks the same as a capital "i" in game.

	        for (new i = 0; i < 9; i++)ReactionString = Rstr[random(sizeof(Rstr))];
        ReactionCash = random( MAX_WINNINGS - MIN_WINNINGS ) + MIN_WINNINGS;
    }
    else PassiveMode = PASSIVE_OFF;
    ReactionState = R_STATE_ACTIVE;
    format(string,sizeof(string),"{FFFFFF}» Acum este momentul pentru mini event. Primul care scrie:{F3FF02}%s {FFFFFF}castiga {F3FF02}%s {FFFFFF}!",ReactionString,FormatMoney(ReactionCash));
    SendClientMessageToAll(-1,string);
    ReactionTimer = SetTimer("ReactionTest",REACTION_TIME*1000*60,true);
    return 1;

 

 

și asta :

 

  ShowPlayerDialog(playerid, 12345678, DIALOG_STYLE_LIST, "{FFCC33}Job-uri:", pDialog, "Bine", "");
    return 1;
}

 

 

 

Edited by kentmore1
  • 0
  • 0
Posted

Dacă știam cum să fac asta nu mai ceream ajutorul aici bro , sunt la început am mai specificat , fămi un exemplu după care mă pot ghida :D am incercat toată ziua și nu mi-a ieșit :-S ....

  • 0
Posted
  • 0
Posted

Am stat toată noapte să-i dau de cap și nimic , adică mi-ai dat un exemplu și din ăla am început să fac , dar încă e prea greu , vreau un pic mai detaliat :-s ...

  • 0
Posted

Te duci la fiecare locatie in parte si dai /save.

Exemplu: /save camionagiu.

o sa primesti ceva de genu in Documents\GTA San Andreas User Files\SAMP > save position:

AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

ce te intereseaza pe tine este:

AddPlayerClass(194, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

if(dialogid == 12345678)
{
	switch(listitem)
	{
		case 0:// asta e job-ul camionagiu
		{
			SetPlayerCheckpoint(playerid, 1958.3783, 1343.1572, 15.3746, 4.0);
		}
		case 1:// asta e job-ul gunoier
		{
			SetPlayerCheckpoint(playerid, pozitiile, 4.0);
		}
		case 2:// asta e job-ul livrator de pizza
		{
			SetPlayerCheckpoint(playerid, pozitiile, dimensiunea);
		}
		...
		case 8:// asta e job-ul detectiv
		{
			SetPlayerCheckpoint(playerid, pozitiile, dimensiunea);
		}
	}
}

acolo la dimensiune reprezinta cat de mare sa fie chackpoint-ul.

Guest
This topic is now closed to further replies.
×
×
  • 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.