Bool value
#3

still
Код:
new vehid[MAX_PLAYERS];

                    if(vehspawned[playerid] == false)
                    {
	                    vehspawned[playerid] = true;
						GetXYInFrontOfPlayer(playerid, x, y, 10.0);
						GetPlayerPos(playerid, x2, y2, z);
						GetPlayerFacingAngle(playerid, angle);
						vehid[playerid] = CreateVehicle(Veh1[playerid], x, y, z, angle+90, 0, 0, -1);
					}else
					{
					    vehspawned[playerid] = false;
					    DestroyVehicle(vehid[playerid]);
					}
Reply


Messages In This Thread
Bool value - by cnoopers - 04.07.2014, 18:39
Re: Bool value - by kamiliuxliuxliux - 04.07.2014, 19:23
Re: Bool value - by cnoopers - 04.07.2014, 19:41
Re: Bool value - by kamiliuxliuxliux - 04.07.2014, 19:47
Re: Bool value - by cnoopers - 04.07.2014, 19:54
Re: Bool value - by cnoopers - 04.07.2014, 21:23
Re: Bool value - by cnoopers - 05.07.2014, 10:00
Re: Bool value - by Threshold - 05.07.2014, 12:55
Re: Bool value - by cnoopers - 06.07.2014, 16:03

Forum Jump:


Users browsing this thread: 2 Guest(s)