Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Need Script Fix Help

$
0
0
Code:

default:
                        {

                SendClientMessage(playerid, yellow, "** - VEHICLE CMDS: /lock (Lock the vehicle) - /cw (Send a message to the passengers in your car) - /ej (Eject a player from your vehicle) - /ejall (Eject all passengers from your vehicle)**");
                new string[64];
                if(random(4) < 1)
                {
                    SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+1);
                }
                format(string, sizeof(string), "*CRIME* Vehicle Theft - Wanted Level %d", GetPlayerWantedLevel(playerid));
                SendClientMessage(playerid, red, string);
            }

I Am Having The Problem In This Code That Is When Ever I Enter A Vehicle It Shows Me Message That CRIME* Vehicle Theft - Wanted Level 0.Even If i Am Not Wanted.Please Help Me I Want This Message To Come Up Only When I Enter Vehicle And Get Wanted

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>