SHOW:
|
|
- or go back to the newest paste.
1 | if(IsACop(hitid)) | |
2 | { | |
3 | - | if( PlayerInfo[ playerid ][ xWanted ] <= 2 ) |
3 | + | if(IsPlayerConnected(hitid)) |
4 | { | |
5 | - | if(IsACop(playerid)) return 1; |
5 | + | if( PlayerInfo[ playerid ][ xWanted ] <= 2 ) |
6 | - | PostaviWanted(playerid, "Napad na policiju", ImeIgraca( playerid ), 3 ); |
6 | + | { |
7 | if(IsACop(playerid)) return 1; | |
8 | PostaviWanted(playerid, "Napad na policiju", ImeIgraca( playerid ), 3 ); | |
9 | } | |
10 | } | |
11 | - | if( PlayerInfo[ playerid ][ xWanted ] <= 0 ) |
11 | + | |
12 | else if(!IsACop(hitid)) | |
13 | - | if(IsACop(playerid)) return 1; |
13 | + | |
14 | - | PostaviWanted(playerid, "Napad na gradjanina", ImeIgraca( playerid ), 1 ); |
14 | + | if(IsPlayerConnected(hitid)) |
15 | - | } |
15 | + | { |
16 | if( PlayerInfo[ playerid ][ xWanted ] <= 0 ) | |
17 | { | |
18 | if(IsACop(playerid)) return 1; | |
19 | PostaviWanted(playerid, "Napad na gradjanina", ImeIgraca( playerid ), 1 ); | |
20 | } | |
21 | } | |
22 | } |