Map icons don't work!
#4

Quote:
Originally Posted by LeroyII
Посмотреть сообщение
This is code with MAPICON_LOCAL
Код:
	AddHouse(0, -2723.707763, -191.290557, 4.335937, 1299.14, -794.77, 1084.00, 300000, 290000, 5, 0, MAPICON_LOCAL); //Big house
This is without (that's how it was when i downloaded gm):
Код:
	AddHouse(0, -2723.707763, -191.290557, 4.335937, 1299.14, -794.77, 1084.00, 300000, 290000, 5, 0); //Big house
When i add "MAPICON_LOCAL" this is what i get:
Код:
E:\Desktop\Golden2\GOLDEN~SATDM V10.0-windows\gamemodes\SATDMv9.pwn(3148) : warning 202: number of arguments does not match definition
Ok here is the problem there are 3 house icons in gta sa . Are you talking about the green house icon that spins at the door in the game.which signifies that the house can be purchase.( the green icon)

pawn Код:
new house;// Create a variable to store the pickup ID in

public OnGameModeInit()
{
House = CreatePickup(1273, 2,coordinates for the icon, -1); //making the icon

public Onplayerpickuppickup
{
If{pickupid== house}
{
       //Whatever you want to do her for example sendclientmessage(playerid,color," use /buy to buy this house");
}
Reply


Messages In This Thread
Map icons don't work! - by LeroyII - 27.08.2014, 07:24
Re: Map icons don't work! - by 1fret - 27.08.2014, 07:48
Re: Map icons don't work! - by LeroyII - 27.08.2014, 08:04
Re: Map icons don't work! - by 1fret - 27.08.2014, 08:10
Re: Map icons don't work! - by LeroyII - 27.08.2014, 08:46
Re: Map icons don't work! - by 1fret - 27.08.2014, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)