I need Help
#1

i need lcp command i used yagu race script please give lcp command
Reply
#2

iam using my own race script, but to make a /lcp is really not that hard. just have a look, youll get how it works:
Код:
CMD:lcp(playerid,cmdtext[]){
	if(RaceIsOn==0)
	{
		SendClientMessage(playerid,MSGFAIL_COLOR,"There is no Race atm.");
		return 1;
	}
	if(RaceIsOn==2 && FacingCheckpoint[playerid]>1)
	{
		new vehicleid=GetPlayerVehicleID(playerid);
		if(vehicleid>0)
		{
			new CP=FacingCheckpoint[playerid]-1;
			SetVehiclePos(vehicleid,ObjectX[CP],ObjectY[CP],ObjectZ[CP]+2);
			//vehicle rotation auf naechsten CP setzen. atan
			SetPVarInt(playerid,"PenaltyMS",GetPVarInt(playerid,"PenaltyMS")+5000);
		}
	}
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)