Question with Gettime and GetData
#3

pawn Код:
new PickupTime[MAX_PLAYERS][3];
pawn Код:
CMD:pickuptime(playerid, params[])
{
    new msg[128];
    format(msg, sizeof(msg), "Pickup was picked up at %02d:%02d:%02d", PickupTime[playerid][0], PickupTime[playerid][1], PickupTime[playerid][2]);
    SendClientMessage(playerid, -1, msg);
    return 1;
}
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    gettime(PickupTime[playerid][0], PickupTime[playerid][1], PickupTime[playerid][2]);
    return 1;
}
Reply


Messages In This Thread
Question with Gettime and GetData - by budelis - 12.08.2011, 18:44
Re: Question with Gettime and GetData - by budelis - 12.08.2011, 19:05
Re: Question with Gettime and GetData - by MadeMan - 12.08.2011, 19:08

Forum Jump:


Users browsing this thread: 2 Guest(s)