Im stuck on something
#3

ok iv made that but now i have another problem....
if i enter in the respective checkpoint the Trailer is not Destroyed ...
how can i make it to destroy the respective trailer ?


CODE:

pawn Код:
else if(CP[playerid] == 23)
    {
     
      if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
      {
     new trailerid = GetVehicleTrailer(playerid);
     DestroyVehicle(trailerid);
     GivePlayerCash(playerid, 8000);
      }
      else
      {
     SendClientMessage(playerid, COLOR_LIGHTBLUE, "You don't have a Trailer attached");
     return 1;
      }
    }
i want to destroy my attached trailer ....
Reply


Messages In This Thread
Im stuck on something - by Im_BanK - 18.03.2009, 18:16
Re: Im stuck on something - by MenaceX^ - 18.03.2009, 18:30
Re: Im stuck on something - by Im_BanK - 18.03.2009, 19:08
Re: Im stuck on something - by MenaceX^ - 18.03.2009, 19:35
Re: Im stuck on something - by Weirdosport - 18.03.2009, 19:54
Re: Im stuck on something - by Im_BanK - 18.03.2009, 20:05
Re: Im stuck on something - by MenaceX^ - 18.03.2009, 20:14
Re: Im stuck on something - by LarzI - 18.03.2009, 20:27

Forum Jump:


Users browsing this thread: 2 Guest(s)