Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Sometimes this happens because of GangZone creator, You create it wrong.
Or if you didn't use a creator, You get the MinX and MinY. It sometimes happen.
Posts: 658
Threads: 32
Joined: Mar 2013
Reputation:
0
I added it OnPlayerSpawn, but sadly I can't test it coz my server is getting attacked by bots =_=
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Add 'rcon 0' and 'password yourpasshere' into your server.cfg file, so only you know the password and can enter, and nobody can attack your rcon whilst you're in-game.
Posts: 658
Threads: 32
Joined: Mar 2013
Reputation:
0
Na I had locked the server to test an anti-fake kill..
But I have a spree system so when he gave them fake kills, they got alot of score and cash.
Anw so OnPlayerSpawn should work right?
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
I don't see any reason why it shouldn't, so yes. Even the wiki recommends it.
Posts: 658
Threads: 32
Joined: Mar 2013
Reputation:
0
Okay, thanks.. I used it.
Anw, I still need help with one problem.
Im trying to make snipers invisible on the map, bu can't make it work.
Not sure what to use, LimitPlayerMarkerRadius or something, so can anyone tell me about that?
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
If you want to make them completely invisible, then you can set their colour to something but with a complete transparency value.
Red (Fully Visible): SetPlayerColor(playerid, 0xFF0000FF);
Red (Invisible On Map): SetPlayerColor(playerid, 0xFF000000);
I haven't actually experimented with these as much as I should have, but I think this should work in all honesty. Or you can always use SetPlayerMarkerForPlayer as an alternative.