15.06.2014, 13:22
Well basicaly I need of this to tell player message where the giftbox is
Example code:
How can I add so it tells player where did it move? Like if it moves to Sherman den, it will tell all players "The shipment moved to sherman den"
Example code:
pawn Код:
new Float:giftboxforplayers[][] =
{
{-517.3328,1595.5092,-0.5358,19.8932}, //BoneCountry
{-483.8486,2186.7073,40.0462,359.7931} //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);
}
How can I add so it tells player where did it move? Like if it moves to Sherman den, it will tell all players "The shipment moved to sherman den"