Jump to content
  • 0

Cum fac o comanda!


Oly

Question

cum pot face o comanda ca atunci cand dai la serverul de stunt /race de exemplu sa ii apara adminului

"jucatorul x vrea sa mearga la race" si el sa dea /accept tp ca sa poata acel player sa fie teleportat.adica dupa ce confirma adminul va putea fi teleportat.

raspundeti unul pls

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Nu stiu sa fac sa accepte adminu dar stiu sa iti zic sa zica in chat " Player s'a dus la /aa"

if(!strcmp(cmdtext, "/aa", true))
	{
	ResetPlayerWeapons(playerid);
        SetPlayerPos(playerid,404.1367,2442.3450,16.5000 );
	GetPlayerName(playerid, pname, sizeof(pname));
	format(string, sizeof(string), "%s Has Gone To AA(/aa)", pname);
	SendClientMessageToAll(0xFFFF00FF, string);
	SetPlayerFacingAngle(playerid, 0.0);
	SetPlayerInterior(playerid, 0);
	SendClientMessage(playerid, 0xFFFF00AA, "Bun venit la Aeroportul Parasit!");
	return 1;
	}

Altfel nu stiu sa fac... am incercat sa te ajut ;)

P.S Cred ca asa era comanda incearca si u :)

ll364l6j8dg3et84ks3w.png

Link to comment
Share on other sites

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.