Getting Enum coords
#7

Quote:
Originally Posted by RenovanZ
Посмотреть сообщение
Try this:
pawn Код:
new Float:giftboxforplayers[][] =
{
    {-517.3328,1595.5092,-0.5358,19.8932, "Bone County"}, //BoneCountry
    {-483.8486,2186.7073,40.0462,359.7931, "Sherman Dam"} //TheShermanDan
};
new Giftboxpick;

SetTimer("movegiftbox", 60000, true);

public movegiftbox()
{
    new Random = random(sizeof(Giftboxpick));
    DestroyPickup(Giftboxpick);
    Giftboxpick = CreatePickup(1210,19,Giftboxpick[Random][0], Giftboxpick[Random][1], Giftboxpick[Random][2],0);
    new string[128];
    format(string, sizeof(string), "Gifts Box moves to %s.", Giftboxpick[Random][3]);
    for(new i = 0; i < GetMaxPlayers(); i++)
    {
        SendClientMessage(i, -1, string);
    }
}
Does work,
Код:
warning 213: tag mismatch
At these lines
Код:
 {-517.3328,1595.5092,-0.5358,19.8932, "Bone County"}, //BoneCountry
    {-483.8486,2186.7073,40.0462,359.7931, "Sherman Dam"} //TheShermanDan
Reply


Messages In This Thread
Getting Enum coords - by SeniorGamer - 15.06.2014, 13:22
Re: Getting Enum coords - by RenovanZ - 15.06.2014, 13:26
Re: Getting Enum coords - by SeniorGamer - 15.06.2014, 13:27
Re: Getting Enum coords - by Konstantinos - 15.06.2014, 13:32
Re: Getting Enum coords - by Laure - 15.06.2014, 13:34
Re: Getting Enum coords - by RenovanZ - 15.06.2014, 13:35
Re: Getting Enum coords - by SeniorGamer - 17.06.2014, 18:08
Re: Getting Enum coords - by Konstantinos - 17.06.2014, 18:25
Re: Getting Enum coords - by SeniorGamer - 17.06.2014, 18:53
Re: Getting Enum coords - by SeniorGamer - 17.06.2014, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)