11.03.2015, 14:35
How I can add zone to this cmd? like Giftbox is Placed at [location name]
Код:
CMD:findgiftbox(playerid, params[])
{
if(CheckPointCheck(playerid))
{
SendClientMessageEx(playerid, COLOR_WHITE, "Please ensure that your current checkpoint is destroyed first (you either have material packages, or another existing checkpoint).");
return 1;
}
if(dynamicgift != 0)
{
new Float:Position[3];
GetDynamicObjectPos(dynamicgift, Position[0], Position[1], Position[2]);
SendClientMessageEx(playerid, COLOR_BLUE, " The giftbox is placed at [I NEED ZONE HERE]");
SetPlayerCheckpoint(playerid, Position[0], Position[1], Position[2], 5.0);
}
else
{
SendClientMessageEx(playerid, COLOR_BLUE, "Giftbox not placed yet");
}
return 1;
}




sorry for wasting your time