Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:pretresigepek(playerid,params[], help)
- {
- if(IgracPolicajac(playerid))
- {
- new i = GetClosestVehicle(playerid);
- for(new v; v < sizeof(VoziloInfo); v++)
- {
- if(VoziloInfo[v][vID] == i)
- {
- new metci = VoziloInfo[v][vMunicija];
- new droga = VoziloInfo[v][vDroga];
- new matsi = VoziloInfo[v][vMats];
- new string[128];
- format(string,sizeof(string),"Metaka: %d",metci);
- SCM(playerid,GRAD2,string);
- format(string,sizeof(string),"Droge: %d grama",droga);
- SCM(playerid,GRAD2,string);
- format(string,sizeof(string),"Matsa: %d",matsi);
- SCM(playerid,GRAD2,string);
- }
- }
- }else return SCM(playerid,GRAD2,"Vi niste policajac!");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment