personal cars
#2

Use this code:
pawn Код:
if(newcar == HERE THE CARID!)
    {
      new PlayerName[MAX_PLAYER_NAME];
      GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
      if(strcmp(PlayerName, "Player_Name", true) == 0)
      {
          SendClientMessage(playerid, 0xFFFF00AA,"Welcome to your Car Player_Name");
      }
      else
      {
          format(string, sizeof(string), "** Alarm bip bip bip **");
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
          SendClientMessage(playerid, 0xFFFF00AA, "This car is for Player_Name only ! ! !");
          RemovePlayerFromVehicle(playerid);
          }
        }
Reply


Messages In This Thread
personal cars - by [HKS]dlegend - 13.09.2009, 21:20
Re: personal cars - by Energyzer - 13.09.2009, 21:41
Re: personal cars - by coole210 - 13.09.2009, 21:43
Re: personal cars - by [HKS]dlegend - 13.09.2009, 22:54
Re: personal cars - by [HKS]dlegend - 28.09.2009, 20:07
Re: personal cars - by [XST]O_x - 28.09.2009, 20:50
Re: personal cars - by Lewwy - 28.09.2009, 20:54
Re: personal cars - by [HKS]dlegend - 28.09.2009, 21:01
Re: personal cars - by Lewwy - 28.09.2009, 21:10
Re: personal cars - by XCultz - 28.09.2009, 21:11

Forum Jump:


Users browsing this thread: 1 Guest(s)