Increase someone is wanted lvl
#1

Hey guys. I want that when someone enters a pd vehicle his wanted lvl increases by 1
Now I have this:
Код:
if(GetVehicleModel(vehicleid) == 596)
  if(GetPlayerColor(playerid) == 0xFFFFFFAA)
  SetPlayerWantedLevel(playerid,1);
  if(GetPlayerColor(playerid) == 0xFFFFFFAA)
  SendClientMessage(playerid, 0x33AA33AA, "You entered a police vehicle, you are wanted now");
  if(GetPlayerColor(playerid) == 0xFFFFFFAA)
  if(GetVehicleModel(vehicleid) == 596)
  SetPlayerColor(playerid,0xFF8000FF);
It works but it doesn't increase by one. It just don't give nmore wanted lvls. How can I do this?
Reply


Messages In This Thread
Increase someone is wanted lvl - by bartje01 - 24.02.2010, 14:45
Re: Increase someone is wanted lvl - by bartje01 - 24.02.2010, 14:49
Re: Increase someone is wanted lvl - by VonLeeuwen - 24.02.2010, 14:53
Re: Increase someone is wanted lvl - by bartje01 - 24.02.2010, 14:57
Re: Increase someone is wanted lvl - by VonLeeuwen - 24.02.2010, 14:58
Re: Increase someone is wanted lvl - by bartje01 - 24.02.2010, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)