27.08.2014, 08:10
Quote:
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 Код:
AddHouse(0, -2723.707763, -191.290557, 4.335937, 1299.14, -794.77, 1084.00, 300000, 290000, 5, 0); //Big house Код:
E:\Desktop\Golden2\GOLDEN~SATDM V10.0-windows\gamemodes\SATDMv9.pwn(3148) : warning 202: number of arguments does not match definition |
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");
}