Probleme /agarer
#2

Remplace

PHP Code:
if(PlayerInfo[playerid][pAdmin] >= 3)
{
     if(
carid >= 184)
     {
          
CarInfo[carid][cLocationx] = x;
          
CarInfo[carid][cLocationy] = y;
          
CarInfo[carid][cLocationz] = z;
          
CarInfo[carid][cAngle] = a;
          
format(stringsizeof(string), "~n~ Vous avez garer ce vehicule a cette position. ~n~");
          
GameTextForPlayer(playerid"Vous avez garer ce vehicule a cette position. Il reaparetra ici."100003);
          
OnPropUpdate();
          
OnPlayerUpdate(playerid);
          
DestroyVehicle(carid);
          
CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000);
          return 
1;
     }
     else
     {
          
SendClientMessage(playeridCOLOR_GREY"Ce vйhicule ne peut pas кtre agarer!");
          return 
1;
     }

en

PHP Code:
if(PlayerInfo[playerid][pAdmin] >= 3)
{
     
CarInfo[carid][cLocationx] = x;
     
CarInfo[carid][cLocationy] = y;
     
CarInfo[carid][cLocationz] = z;
     
CarInfo[carid][cAngle] = a;
     
format(stringsizeof(string), "~n~ Vous avez garer ce vehicule a cette position. ~n~");
     
GameTextForPlayer(playerid"Vous avez garer ce vehicule a cette position. Il reaparetra ici."100003);
     
OnPropUpdate();
     
OnPlayerUpdate(playerid);
     
DestroyVehicle(carid);
     
CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000);
     return 
1;

Reply


Messages In This Thread
[RESOLUE]Probleme /agarer - by fox63 - 06.02.2014, 21:25
Re : Probleme /agarer - by Chris53340 - 06.02.2014, 21:52
Re : Probleme /agarer - by fox63 - 06.02.2014, 22:19
Re : Probleme /agarer - by Chris53340 - 06.02.2014, 22:26
Re : Probleme /agarer - by fox63 - 06.02.2014, 22:31
Re : Probleme /agarer - by Chris53340 - 06.02.2014, 22:37
Re : Probleme /agarer - by fox63 - 06.02.2014, 22:39
Re : Probleme /agarer - by Chris53340 - 06.02.2014, 22:41
Re : Probleme /agarer - by fox63 - 06.02.2014, 22:46
Re : Probleme /agarer - by Chris53340 - 06.02.2014, 22:59
Re : Probleme /agarer - by fox63 - 06.02.2014, 23:03
Re : Probleme /agarer - by Sus-Pets - 06.02.2014, 23:04
Re : Probleme /agarer - by fox63 - 06.02.2014, 23:07
Re : Probleme /agarer - by Chris53340 - 06.02.2014, 23:09
Re : Probleme /agarer - by fox63 - 06.02.2014, 23:12

Forum Jump:


Users browsing this thread: 2 Guest(s)