SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: binnyl
Forum: Scripting Help 02/01/2020, 07:37 AM
Replies: 15
Views: 701
Posted By binnyl
Re: Show cops on radar (only for other cops)

Is a COP is a simple stock

stock IsACop(playerid) {
if(org[playerid] == 1 || org[playerid] == 2 || org[playerid] == 3 || org[playerid] == 4 || org[playerid] == 11 || org[playerid] == 5 ||...
Forum: Scripting Help 07/12/2019, 04:32 PM
Replies: 15
Views: 701
Posted By binnyl
Re: Show cops on radar (only for other cops)

This script

public OnActorStreamIn(actorid, forplayerid)
{
if(IsACop(forplayerid) && IsACop(actorid)) {
SetPlayerMarkerForPlayer(actorid, forplayerid, COLOR_LIMEGREEN);
}
...
Forum: Scripting Help 03/12/2019, 07:28 AM
Replies: 15
Views: 701
Posted By binnyl
Re: Show cops on radar (only for other cops)

I've tried the way u suggest and it just stop to show map icon to allies

Did i've done something wrong?


public OnActorStreamIn(actorid, forplayerid)
{
if(IsACop(forplayerid) &&...
Forum: Scripting Help 02/12/2019, 03:54 AM
Replies: 15
Views: 701
Posted By binnyl
Re: Show cops on radar (only for other cops)

I'm already uses SetPlayerMapIcon for a lot of stuff
Even had to use a streammer to don't get to the 100

SetPlayerMarkerForPlayer was made for it
Idk what happen if i'm missing something or if...
Forum: Scripting Help 30/11/2019, 09:14 PM
Replies: 15
Views: 701
Posted By binnyl
Forum: Scripting Help 29/11/2019, 11:24 PM
Replies: 15
Views: 701
Posted By binnyl
Forum: Scripting Help 22/11/2019, 03:40 PM
Replies: 15
Views: 701
Posted By binnyl
Re: Show cops on radar (only for other cops)

Yes, he is


About showplayermakers i'm using this
stock TransparentColor(color) { return (color & 0xFFFFFF00); }

So players are not showing on map, only when i want to i remove this...
Forum: Scripting Help 22/11/2019, 02:30 AM
Replies: 15
Views: 701
Posted By binnyl
Forum: Scripting Help 20/11/2019, 02:58 AM
Replies: 15
Views: 701
Posted By binnyl
Show cops on radar (only for other cops)

I have this function:

forward TeamRadar(playerid); public TeamRadar(playerid) {
if(IsACop(playerid)) {
foreach(new i : Player) {
if(IsACop(i)) {
...
Showing results 1 to 9 of 9

 

All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.