How can i do this ?
#5

Color[15] is wrong. The color isn't a string, is a number (Hex or Decimal)

pawn Код:
forward PerseTerritories(playerid, name[], value);
public PerseTerritories(playerid, name[], value)
{
if(!strcmp(name, "Retake1")) SetPVarInt(playerid, "Retake1", value);
}

//later on
INI_ParseFile("/Territories/Areas.txt", "PerseTerritories", false, true, playerid, true, false);
new Color;
Color = GetPVarInt(playerid, "Retake1");
GangZoneShowForPlayer(playerid, AreaRetake1,Color);
Reply


Messages In This Thread
How can i do this ? - by park4bmx - 09.05.2011, 17:06
Re: How can i do this ? - by Biesmen - 09.05.2011, 17:16
Re: How can i do this ? - by park4bmx - 09.05.2011, 17:19
Re: How can i do this ? - by Vince - 09.05.2011, 17:20
Re: How can i do this ? - by Sasino97 - 09.05.2011, 17:24
Re: How can i do this ? - by park4bmx - 09.05.2011, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)