18.01.2014, 02:13
Ahhh that is because your dividing an integer wanted level goes up to 6 so it will always return 1; you can do this instead.
(GetPlayerWantedLevel(targetid)*60) / 4;
Wanted level 1 = 15 seconds
Wanted level 2 = 30
Wanted level 3 = 45
Wanted level 4 = 60
Wanted level 5 = 75
Wanted level 6 = 90
(GetPlayerWantedLevel(targetid)*60) / 4;
Wanted level 1 = 15 seconds
Wanted level 2 = 30
Wanted level 3 = 45
Wanted level 4 = 60
Wanted level 5 = 75
Wanted level 6 = 90