23.03.2009, 16:07
Oh so your command would probably be like /wanted?
Depends on how bad you want to give them if someone uses the command....
WantedPoints[playerid]+=2; - will increase by 2
WantedPoints[playerid] = 12; - will set their wanted to 12
Thats two different ways you may see it in your script, depending on how the command is used you may need change 'playerid' to 'giveplayerid' or 'killerid' depends on how you have it setup. There's alot of ways it may show in your script, hopefully this will give you the concept...
This is what I have for if someone robs a Bank
Depends on how bad you want to give them if someone uses the command....
WantedPoints[playerid]+=2; - will increase by 2
WantedPoints[playerid] = 12; - will set their wanted to 12
Thats two different ways you may see it in your script, depending on how the command is used you may need change 'playerid' to 'giveplayerid' or 'killerid' depends on how you have it setup. There's alot of ways it may show in your script, hopefully this will give you the concept...
This is what I have for if someone robs a Bank
Код:
WantedPoints[playerid] =20; SetPlayerCriminal(playerid,255, "Robbing the BANK!");

