Hide Map
#1

In Game Mode Survival ( Zombie ), i want hide map when player no have GPS
I don't know how to hide this, anyone can help me : D: : D
Reply
#2

Maybe by using a textdraw over the minimap with a text like: "You need a GPS to view the map".
PS: I have seen this somewhere in a server, don't remember it's name.
PS2: If they have a cleo mod with minimap (like me ) this is useless.
Reply
#3

Use:
TextDraw for hide GPS in HUD
or
GangZone for hide MAP + GPS
Reply
#4

I was see one server in the map ( not hud, i don't know that is what, but in ESC => Map, it black all map
LOL
Reply
#5

PHP код:
HideMap GangZoneCreate(-3000.0,-3000.0,3000.0,3000.0);

GangZoneShowForPlayer(playerid,HideMap,0x000000FF); //hide map 
Reply
#6

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
PHP код:
HideMap GangZoneCreate(-3000.0,-3000.0,3000.0,3000.0);
GangZoneShowForPlayer(playerid,HideMap,0x000000FF); //hide map 
Put it in ?
Reply
#7

HideMap in OnGamemodeInit and GangZoneShowForPlayer in OnPlayerConnect, I suppose.
Not so sure.
Reply
#8

PHP код:
OnGameModeInit:

HideMap GangZoneCreate(-3000.0,-3000.0,3000.0,3000.0); 
PHP код:
OnPlayerSpawn:

GangZoneShowForPlayer(playerid,HideMap,0x000000FF); 
PHP код:
OnPlayerCommandReceived:

if(
strcmp("/quit"cmdtext) || strcmp("/q"cmdtext)) GangZoneHideForPlayer(playeridHideMap); 
This is only an example of what you can do. There are many, many other things.
Reply
#9

Thanks All it work
Reply
#10

Quote:
Originally Posted by Hiei
Посмотреть сообщение
Thanks All it work
Your very welcome.
Feel free to rep me if I helped you at all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)