/hotwire
#5

Quote:
Originally Posted by iggy1
pawn Код:
// Hotwire
        if(strcmp(cmdtext, "/hotwire", true) == 0)
    {
      if(IsPlayerConnected(playerid))
      {
        if(PlayerInfo[playerid][pJob] == 5)
        {
          if(IsPlayerInAnyVehicle(playerid))
                {
                    new timestamp = GetTickCount();
                    LastHW[playerid] = timestamp;

                    if(timestamp - LastHW[playerid] < 5000)
                    {
                        SendClientMessage(playerid, COLOR_RED, "Your trying to hotwire it.");
                        SetTimerEx("HotwireSucces", 5000, 0, "i", playerid);
                }
              }
            }
        }
        return 1;
    }
Try that
Hmm? Whats new about this code is nothing but the indentation (i think) ... Doubting that would fix an error.


Edit: my bad thought it was the same one as b4 :P try this?
Reply


Messages In This Thread
/hotwire - by SisasPoiss - 23.06.2010, 07:13
Re: /hotwire - by iggy1 - 23.06.2010, 08:36
Re: /hotwire - by Lorenc_ - 23.06.2010, 08:37
Re: /hotwire - by SisasPoiss - 23.06.2010, 08:41
Re: /hotwire - by Lorenc_ - 23.06.2010, 08:42
Re: /hotwire - by iggy1 - 23.06.2010, 08:44
Re: /hotwire - by Lorenc_ - 23.06.2010, 08:47
Re: /hotwire - by iggy1 - 23.06.2010, 08:48
Re: /hotwire - by SisasPoiss - 23.06.2010, 08:49
Re: /hotwire - by iggy1 - 23.06.2010, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)