Jump to content
  • 0

RampON


kenzor

Question

Deci am un server de stunt si cand itnra cineva p sv si da click stanga ii apare o rampa .. asta inseamna ca e /rampon din prima activat si tre dat /rampoff dar unii nu stiu asta....cum nu am stiut nici eu..ce sa fac sa nu mai fie /rampon de la inceput ?

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

Are un RSS Edit ca Gm..am mai vazut si pe alte sv ..tot RSS

Comenzile sunt astea..incearca sa le stergi....

	if (strcmp("/rampoff ", cmdtext, true, 8) == 0)
	{
		ramped[playerid] = 1;
		noramp[playerid] = 1;
		SendClientMessage(playerid, red, "Ai dezactivat rampa!");
		SendClientMessage(playerid, red, "Scrie /rampon pentru a o activa!");
		return 1;
	}
	if (strcmp("/rampon ", cmdtext, true, 7) == 0)
	{
		ramped[playerid] = 0;
		noramp[playerid] = 0;
		SendClientMessage(playerid, red, "Ai activat rampa!");
		SendClientMessage(playerid, red, "Scrie /rampoff pentru a o dezactiva!");
		return 1;
	}
	

Link to comment
Share on other sites

Pana acum ziceai sa fie activat la Connect, acum sa nu mai fie activat ...

Cauti la OnPlayerConnect astea:

ramped[playerid] = 0;
noramp[playerid] = 0;
daca le gasesti le schimbi asa:
ramped[playerid] = 1;
noramp[playerid] = 1;

Aveti si voi creier, nu mai puneti intrebari d'astea banale ...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

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