Speedo Always dessaper
#1

Hey , Sry to bother you guys,But I really need those command , I need to fix that command wont gone after second , Also to fix that if you see any bugs , Really sry to bother but I must that.
Код:
CMD:speedo(playerid, params[]) {
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) {
		SendClientMessageEx(playerid, COLOR_GREY, "You're not driving a vehicle.");
	}
	else if(!PlayerInfo[playerid][pSpeedo]) {
		SendClientMessageEx(playerid, COLOR_WHITE, "You have enabled your speedometer.");
		PlayerInfo[playerid][pSpeedo] = 1;

		if(!FindTimePoints[playerid] && arr_Engine{GetPlayerVehicleID(playerid)} != 0) {

			new
				szSpeed[42];

			format(szSpeed, sizeof(szSpeed),"~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~%.0f MPH", player_get_speed(playerid));
			GameTextForPlayer(playerid, szSpeed, 150000000000, 3);
		}
	}
	else {
		SendClientMessageEx(playerid, COLOR_WHITE, "You have disabled your speedometer.");
		PlayerInfo[playerid][pSpeedo] = 0;
		if(!FindTimePoints[playerid] && arr_Engine{GetPlayerVehicleID(playerid)} != 0) GameTextForPlayer(playerid, " ", 1500, 3);
	}
	return 1;
}
Reply


Messages In This Thread
Speedo Always dessaper - by ProjectFutureRolePlay - 03.07.2013, 14:57
Re: Speedo Always dessaper - by Vince - 03.07.2013, 15:01
Re: Speedo Always dessaper - by ProjectFutureRolePlay - 03.07.2013, 15:22
Re: Speedo Always dessaper - by DobbysGamertag - 03.07.2013, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)