[FilterScript] [FS]Remote Contol Vehicles **Version 2.0**
#3

This is really gd 1 suggestion though, can u release a version where the tank shoots (my code below), i have tested code and working fine

Код:
if((newkeys==KEY_FIRE)&&(IsPlayerInAnyVehicle(playerid))&&(GetPlayerState(playerid)==PLAYER_STATE_DRIVER))  {
	  if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 564)	  {
			new Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:az;
			GetPlayerPos(playerid,x,y,z);
			GetVehicleZAngle(GetPlayerVehicleID(playerid), az);
			x2 = x + (30 * floatsin(-az+5, degrees));
			y2 = y + (30 * floatcos(-az+5, degrees)); 
			CreateExplosion(x2,y2,z,3,4.0);
		}
	}
Reply


Messages In This Thread
[FS]Remote Contol Vehicles **Version 2.0** - by Sandra18[NL] - 06.01.2008, 16:08
Re: [FS]Remote Contol Vehicles - by Rks25 - 06.01.2008, 16:25
Re: [FS]Remote Contol Vehicles - by LethaL - 06.01.2008, 16:43
Re: [FS]Remote Contol Vehicles - by cmg4life - 06.01.2008, 17:16
Re: [FS]Remote Contol Vehicles - by snipe69 - 06.01.2008, 18:12
Re: [FS]Remote Contol Vehicles - by kc - 06.01.2008, 18:33
Re: [FS]Remote Contol Vehicles **Version 2.0** - by Sandra18[NL] - 06.01.2008, 22:37
Re: [FS]Remote Contol Vehicles **Version 2.0** - by James - 07.01.2008, 06:22
Re: [FS]Remote Contol Vehicles **Version 2.0** - by snipe69 - 07.01.2008, 12:07
Re: [FS]Remote Contol Vehicles **Version 2.0** - by LethaL - 07.01.2008, 13:28

Forum Jump:


Users browsing this thread: 1 Guest(s)