Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

Vreau si eu comanda /flycar pentru admini.   (stiu ca nu aici trebuie sa pun asfel de intrebari dar na)

6 answers to this question

Recommended Posts

  • 1
Posted (edited)
CMD:fly(playerid, params[]) {
	if(AnduInfo[playerid][pAdmin] < 1) return 1;//textul dorit
	if(IsPlayerInAnyVehicle(playerid)) {
		new Float: x, Float:y, Float:z;
		GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);		
		SetVehicleVelocity(GetPlayerVehicleID(playerid),x, y, z + 0.5);	
		return 1;
	}
	if(!strlen(tmp)) {
		Flyingcars(1);
		SendClientMessage(playerid, 0xFFADADFF, "Fly mode on.");
	} else {
		Flyingcars(0);
		SendClientMessage(playerid, 0xFFADADFF, "Fly mode off.");
	}
	return 1;
}

Ai sa fiu indulgent cu tine si sa te ajut  pe jumatate de aici te descurci tu 

Edited by Geani
  • Thanks 2

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

  • 0
Posted

ai ganduri mari si tu :)):))

  • Thanks 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

  • 0
Posted

cu placere 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

  • 0
Posted
Acum 5 ore, Lion fon a spus:

Imi apare ca functiile  tmp, flyingcars, nu sunt definite , cum ar trebuii ?

 

new tmp = GetPlayerVehicleID(playerid);

 

  • Thanks 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.