Need help with markers
#1

Hello, I need some help with map markers.
I've tried it myself but they keep reappearing, so maybe someone here is better than me with it.

Team 1 can not see Team 2 markers, and Team 2 can not see Team 1 markers.
Although the nametags and chat colour should be blue for Team 1 and red for Team 2.
When Team 2 writes /su, Team 2 markers will be visible as red.
And when someone in Team 1 writes /s, his or her mark will be yellow visible for everyone in Team 1 for 5 seconds then change back to blue visible for Team 1, but Team 2 can not see it.

Please help me out
Reply
#2

can you show us the code you have so far
Reply
#3

Sure, you can download my .pwn if it helps

http://*******/LlELNY
Reply
#4

Just use this:
pawn Code:
new gangmap;// put this on top of your gamemode

gangmap = ShowMarkerForPlayer(playerid,ID,X,Y,Z,ID,COLOR);  // try command may works fine for you, try. if it doesn't work feel free to post here again i'll try figure out what you did wrong.
Reply
#5

Quote:
Originally Posted by leonardo1434
View Post
Just use this:
pawn Code:
new gangmap;// put this on top of your gamemode

gangmap = ShowMarkerForPlayer(playerid,ID,X,Y,Z,ID,COLOR);  // try command may works fine for you, try. if it doesn't work feel free to post here again i'll try figure out what you did wrong.
I wont try this, I would get errors, something such as "ShowMarkerForPlayer" doesnt exist.
Also if you are meaning ShowPlayerMarkerForPlayer, you cant assign it to an array.
Reply
#6

The markers seem to disappear sometimes when you are close to the player, but they appear when you are far away. (Streaming maybe?)
And when team 2 spawns they see team 1 as red chat name and score list name until they stream in.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)